Skip to content
Developer Preview

task/readTail

Experimental

Reads the latest output of one running background command, at most 128 KiB from the host runtime’s retained tail, so a follow view keeps showing output past the 64 KiB streamed budget (ADR 70076 D1).

Type: TaskReadTailParams

task/readTail params (ADR 70076 D1, experimental): the latest output of one running background command, read from the host runtime’s retained tail. A read-only query in the task/list mold: no commandId, no durable record, no view event.

Field Type Stability Presence Description
sessionId string Experimental required The target session.
taskId string Experimental required The task: a task/list row’s taskId, which for a command is its toolCall item’s itemId.
Source

schema/msp/experimental/msp.schema.json#/methods/task~2FreadTail

{
"description": "Reads the latest output of one running background command, at most 128 KiB from the host runtime's retained tail, so a follow view keeps showing output past the 64 KiB streamed budget (ADR 70076 D1).",
"params": {
"$ref": "#/$defs/TaskReadTailParams"
},
"result": {
"$ref": "#/$defs/TaskReadTailResult"
},
"x-msp-descriptor": "task/readTail",
"x-msp-stability": "experimental"
}