MCPcopy Create free account
hub / github.com/codeaashu/claude-code / prompt

Function prompt

src/tools/TaskOutputTool/TaskOutputTool.tsx:172–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170 return input.task_id;
171 },
172 async prompt() {
173 return `DEPRECATED: Prefer using the Read tool on the task's output file path instead. Background tasks return their output file path in the tool result, and you receive a <task-notification> with the same path when the task completes — Read that file directly.
174
175- Retrieves output from a running or completed task (background shell, agent, or remote session)
176- Takes a task_id parameter identifying the task
177- Returns the task output along with status information
178- Use block=true (default) to wait for task completion
179- Use block=false for non-blocking check of current status
180- Task IDs can be found using the /tasks command
181- Works with all task types: background shells, async agents, and remote sessions`;
182 },
183 async validateInput({
184 task_id
185 }, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected