Attach to a task
attach_to_taskAttaches one thing that shows the work on a task: a change request, a Code session, a message, an email thread, a Drive file (doc, recording, screenshot), a crew run, a commit, a link or a short note. Coline reads its title and state from the real thing.
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": {
"workspace": "<workspace>",
"taskboardId": "<taskboardId>",
"taskId": "<taskId>",
"attachment": "<attachment>"
},
"name": "attach_to_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| attachment | Yes | ||
| taskboardId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| href | Yes | ||
| kind | Yes | ||
| refId | Yes | ||
| title | Yes | ||
| checks | Yes | ||
| addedBy | Yes | ||
| preview | Yes | ||
| summary | Yes | ||
| finishId | Yes | ||
| canRemove | Yes | ||
| createdAt | Yes | ||
| stateLine | Yes |