6 pages for initialprompt.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…e = None mcpServers: list[str | dict[str, Any]] | None = None initialPrompt: str | None = None maxTurns: int | None = None background: bool | None = None effort: EffortLevel | int…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…to add to any that this agent inherits, by name or inline config | | `initialPrompt` | `string` | No | Auto-submitted as the first user turn when this agent runs as the main thread agent. Ignored when…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…: string; mcpServers?: AgentMcpServerSpec[]; skills?: string[]; initialPrompt?: string; maxTurns?: number; autoCompactWindow?: number; background?: boolean; omitClaudeMd?: boolean; mem…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…s`, `hooks`, `memory`, `background`, `effort`, `isolation`, `color`, `initialPrompt`, `omitClaudeMd`, `experimental` | [Subagent frontmatter](https://code.claude.com/docs/en/sub-agents.md#supported-fr…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…s * **Ignored fields**: `permissionMode`, `hooks`, `mcpServers`, and `initialPrompt`. An agent file can't add hooks or MCP servers on its own, so add those as plugin [hooks](#hooks) and [MCP servers](…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…`, `mcpServers`, `hooks`, `maxTurns`, `autoCompactWindow`, `skills`, `initialPrompt`, `memory`, `effort`, `background`, `omitClaudeMd`, and `isolation`. * **Ignored fields**: `color` and `experimental…