Append to a task's log
log_entryAppend task entries—decisions, dead ends, questions, notes, or handoffs—so agents preserve context and close open questions by referencing their entry ID.
Instructions
Append one entry: 'decision', 'dead_end', 'question', 'note' or 'handoff'. First line is the headline the briefing shows; keep the body to a screen. Settling an earlier question? Pass its id as answers_entry_id -- nothing else closes one.
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>",
"kind": "<kind>",
"body": "<body>"
},
"name": "log_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | One thing, for a stranger: the first line is the headline the briefing shows, the body a screen at most. Measurements and listings go in the task body or a note, not here. | |
| kind | Yes | decision: why it is this way. dead_end: what was tried and failed, and why. handoff: the state you are leaving, enough to continue without asking. question: a choice you hand back to the developer, or one they will ask somebody about -- close it later with answers_entry_id. note: anything else worth keeping. | |
| model | No | Your model id, e.g. 'claude-opus-5'. | |
| author | No | ||
| task_id | Yes | ||
| answers_entry_id | No | Id of the `question` entry on this task that this entry settles. The only way a question closes; both stay readable through get_task. | |
| from_observation_id | No | Id of the get_context observation this record writes up. Marks it handled so it leaves the briefing; write the body yourself. |