tasks_comment
Post a comment on a task. Attach files (screenshots, documents) by uploading them with files.upload first and passing the file IDs.
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": {
"task_id": "<task_id>",
"body": "<body>"
},
"name": "tasks_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text | |
| task_id | Yes | Task to comment on | |
| agent_id | No | Comment as this agent instead of as yourself. Optional. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| attachment_file_ids | No | File IDs to attach (from files.upload) |