Fork Agent Session
agent_forkDuplicate an existing session to branch work into a new parallel execution when the backend supports forking. Use it to preserve context and continue independently.
Instructions
Fork an existing session when its backend advertises that capability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | ||
| prompt | No | ||
| context | No | ||
| file_refs | No | ||
| workspace | Yes | Reference to exactly one durable workspace identity. | |
| session_id | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | queued | |
| job_id | Yes | ||
| operation | Yes | ||
| session_id | No |