create_agent_session
Creates a durable attribution session with a unique handle, enabling tracking and coordination of agent work across clients.
Instructions
Create a durable attribution session and one unrecoverable handle; writes a new session on every call (non-idempotent).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model identifier. | |
| agent_label | No | Optional human-readable agent identity. | |
| client_name | Yes | Required client identity. | |
| project_ref | No | Project reference returned by open_project. Pass it explicitly for stateless routing; omit only when using a configured default. | |
| instance_key | No | Optional stable key for this client instance. | |
| client_version | No | Optional client version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | ||
| agent_session_handle | Yes |