agent_session_start
Starts a new trackable agent session for a goal and returns its ID for later resume. Begin a fresh task, or pass parent_session_id to chain it to a prior run.
Instructions
Start a new agent session (a run with a goal). Returns the created session including its id. Use when beginning a fresh task that you want to track and resume. Pass parent_session_id to chain a resumed run to its predecessor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | The A-Z objective for this run | |
| role | No | Optional role this session plays (frontend, backend, design, ...). Usually inferred at boot from the matched goal node instead. | |
| agent | Yes | Stable agent slug | |
| project | No | Optional project slug within the workspace | |
| metadata | No | Arbitrary run metadata | |
| workspace | No | Workspace slug this run operates in | |
| agent_name | No | Human-readable name (used only on first creation) | |
| parent_session_id | No | Id of the session this one resumes/continues |