The whole hunk
from line 862, old and new numbered
/
lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 862
862862 initialPrompt?: string;
863863 maxTurns?: number;
864864 background?: boolean;
865 omitClaudeMd?: boolean;
865866 memory?: "user" | "project" | "local";
866867 effort?: "low" | "medium" | "high" | "xhigh" | "max" | number;
867868 permissionMode?: PermissionMode;
from line 870
869870};
870871```
871872
872| Field | Required | Description |
873| :------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
874| `description` | Yes | Natural language description of when to use this agent |
875| `tools` | No | Array of allowed tool names. If omitted, inherits every [tool available to subagents](/docs/en/sub-agents#available-tools). To preload Skills into the agent's context, use the `skills` field rather than listing `'Skill'` here |
876| `disallowedTools` | No | Array of tool names to explicitly disallow for this agent. MCP server-level patterns are also accepted: `mcp__server` or `mcp__server__*` removes every tool from that server, and `mcp__*` removes every MCP tool from any server |
877| `prompt` | Yes | The agent's system prompt |
878| `model` | No | Model override for this agent. Accepts an alias such as `'fable'`, `'opus'`, `'sonnet'`, `'haiku'`, `'inherit'`, or a full model ID. `'inherit'` uses the main model. When you omit it, Claude Code picks the model in the [subagent model order](/docs/en/sub-agents#choose-a-model) |
879| `mcpServers` | No | MCP server specifications for this agent |
880| `skills` | No | Array of skill names to preload into the agent context |
881| `initialPrompt` | No | Auto-submitted as the first user turn when this agent runs as the main thread agent |
882| `maxTurns` | No | Maximum number of agentic turns (API round-trips) before stopping |
883| `background` | No | Run this agent as a non-blocking background task when invoked |
884| `memory` | No | Memory source for this agent: `'user'`, `'project'`, or `'local'` |
885| `effort` | No | Reasoning effort level for this agent. Accepts a named level or an integer |
886| `permissionMode` | No | Permission mode for tool execution within this agent. The [subagent inheritance rules](/docs/en/agent-sdk/permissions#available-modes) decide when it applies. See [`PermissionMode`](#permissionmode) |
887| `criticalSystemReminder_EXPERIMENTAL` | No | Experimental: Critical reminder added to the system prompt |
873| Field | Required | Description |
874| :------------------------------------ | :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
875| `description` | Yes | Natural language description of when to use this agent |
876| `tools` | No | Array of allowed tool names. If omitted, inherits every [tool available to subagents](/docs/en/sub-agents#available-tools). To preload Skills into the agent's context, use the `skills` field rather than listing `'Skill'` here |
877| `disallowedTools` | No | Array of tool names to explicitly disallow for this agent. MCP server-level patterns are also accepted: `mcp__server` or `mcp__server__*` removes every tool from that server, and `mcp__*` removes every MCP tool from any server |
878| `prompt` | Yes | The agent's system prompt |
879| `model` | No | Model override for this agent. Accepts an alias such as `'fable'`, `'opus'`, `'sonnet'`, `'haiku'`, `'inherit'`, or a full model ID. `'inherit'` uses the main model. When you omit it, Claude Code picks the model in the [subagent model order](/docs/en/sub-agents#choose-a-model) |
880| `mcpServers` | No | MCP server specifications for this agent |
881| `skills` | No | Array of skill names to preload into the agent context |
882| `initialPrompt` | No | Auto-submitted as the first user turn when this agent runs as the main thread agent |
883| `maxTurns` | No | Maximum number of agentic turns (API round-trips) before stopping |
884| `background` | No | Run this agent as a non-blocking background task when invoked |
885| `omitClaudeMd` | No | Run this agent without the user, project, and local CLAUDE.md files when it runs as a subagent; managed policy files still load. Use it for agents that take everything they need from the Agent tool prompt. Ignored when this agent runs as the main thread agent. Requires TypeScript Agent SDK v0.3.271 or later |
886| `memory` | No | Memory source for this agent: `'user'`, `'project'`, or `'local'` |
887| `effort` | No | Reasoning effort level for this agent. Accepts a named level or an integer |
888| `permissionMode` | No | Permission mode for tool execution within this agent. The [subagent inheritance rules](/docs/en/agent-sdk/permissions#available-modes) decide when it applies. See [`PermissionMode`](#permissionmode) |
889| `criticalSystemReminder_EXPERIMENTAL` | No | Experimental: Critical reminder added to the system prompt |
888890
889891### `AgentMcpServerSpec`
890892
from line 2589
25872589
25882590```typescript theme={null}
25892591type MonitorInput = {
2592 description: string;
2593 timeout_ms: number;
25902594 command?: string;
25912595 ws?: {
25922596 url: string;
25932597 protocols?: string[];
25942598 };
2595 description: string;
2596 timeout_ms: number;
2597 persistent: boolean;
25982599};
25992600```
26002601
26012602Runs a background source and delivers each event to Claude so it can react without polling: `command` runs a script and emits one event per stdout line, and `ws` opens a WebSocket and emits one event per text frame. Provide exactly one of `command` or `ws`. The `ws` source requires Claude Code v2.1.195 or later.
26022603
2603Set `persistent: true` for session-length watches such as log tails. When Monitor runs a command, it follows the same permission rules as Bash; a WebSocket watch prompts for approval separately. See the [Monitor tool reference](/docs/en/tools-reference#monitor-tool) for behavior and provider availability. The exported type marks `timeout_ms` and `persistent` as required because the schema fills in their defaults, 300000 and `false`; a call that omits them validates.
2604`timeout_ms` is the watch's deadline in milliseconds. It defaults to 300000, and the effective deadline is at most 1800000, which is 30 minutes. At the deadline the watch ends and Claude receives one notice so it can start a new watch if it still needs one.
26042605
2606The exported type marks `timeout_ms` as required because the schema fills in the default; a call that omits it validates.
2607
2608When Monitor runs a command, it follows the same permission rules as Bash; a WebSocket watch prompts for approval separately. See the [Monitor tool reference](/docs/en/tools-reference#monitor-tool) for behavior and provider availability.
2609
26052610### TaskOutput
26062611
26072612**Tool name:** `TaskOutput`
from line 2985
29802985};
29812986```
29822987
2983Deletes a scheduled cron job by the ID returned from `CronCreate`.
2984
2985### CronList
2986
2987**Tool name:** `CronList`
2988
2989```typescript theme={null}
2990type CronListInput = {};
2991```
2992
2993Lists the scheduled cron jobs: durable jobs from `.claude/scheduled_tasks.json` and session-only jobs from the current session.
2994
2995### ScheduleWakeup
2996
2997**Tool name:** `ScheduleWakeup`
2998
2999```typescript theme={null}
3000type ScheduleWakeupInput = {
3001 delaySeconds?: number;
3002 reason?: string;
3003 prompt?: string;
3004 noop?: boolean;
3005 stop?: boolean;
3006};
3007```
3008
3009Schedules a one-shot wake-up that fires the given prompt after a delay. This tool backs the self-paced `/loop` command. The runtime clamps `delaySeconds` to between 60 and 3600 seconds. The `delaySeconds`, `reason`, `prompt`, and `noop` fields are required unless `stop` is true. `noop: true` reports a wake-up where nothing changed. Setting `stop: true` cancels the pending wakeup and ends the self-paced `/loop`. The `stop` field requires Claude Code v2.1.202 or later. See the [ScheduleWakeup row in the tools reference](/docs/en/tools-reference).
3010
3011### RemoteTrigger
3012
3013**Tool name:** `RemoteT
2988Deletes a sch