πŸ“„ File detail

tools/TaskStopTool/prompt.ts

🧩 .tsπŸ“ 9 linesπŸ’Ύ 280 bytesπŸ“ text
← Back to All Files

🎯 Use case

This module implements the β€œTaskStopTool” tool (Task Stop) β€” something the model can call at runtime alongside other agent tools. On the API surface it exposes TASK_STOP_TOOL_NAME and DESCRIPTION β€” mainly types, interfaces, or factory objects.

Generated from folder role, exports, dependency roots, and inline comments β€” not hand-reviewed for every path.

🧠 Inline summary

export const TASK_STOP_TOOL_NAME = 'TaskStop' export const DESCRIPTION = ` - Stops a running background task by its ID - Takes a task_id parameter identifying the task to stop

πŸ“€ Exports (heuristic)

  • TASK_STOP_TOOL_NAME
  • DESCRIPTION

πŸ–₯️ Source preview

export const TASK_STOP_TOOL_NAME = 'TaskStop'

export const DESCRIPTION = `
- Stops a running background task by its ID
- Takes a task_id parameter identifying the task to stop
- Returns a success or failure status
- Use this tool when you need to terminate a long-running task
`