create_agent_session
Create a durable session that attributes future work to a specific client and returns a handle for tracking. Each call generates a new session to ensure separate attribution.
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 |