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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"client_name": "<client_name>"
},
"name": "create_agent_session"
}
}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 |