SpecifyDocs

session_update

tools/call

Link one of this agent's sessions to a project task, move it to another task, or clear the link with projectTaskId null. Linking needs read:projects and a task you can read.

Scopes

write:agent_sessions

Also needs read:projects when projectTaskId names a task.

Inputs

sessionIdstringRequired
Session ID
projectTaskIdstring | nullRequired
taskId or key (DEV-20) of the project task (from task_list or task_get), or null to clear.
idempotencyKeystringRequired
Retry key you choose. The same call sent again with the same key within 24 hours writes nothing twice: if an answer is lost or unclear, send the same call with the same key. Use a new key for a new change

Returns

The updated session. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The connection has agent access and every scope the tool needs.