Filemedium importancesource

prompt.ts

tools/TaskStopTool/prompt.ts

9
Lines
280
Bytes
2
Exports
0
Imports
10
Keywords

What this is

This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.

Beginner explanation

This file is part of the tool layer, which means it describes actions the system can perform for the user or model.

How it is used

Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.

Expert explanation

Architecturally, this file intersects with tool-system. It contains 9 lines, 0 detected imports, and 2 detected exports.

Important relationships

Detected exports

  • TASK_STOP_TOOL_NAME
  • DESCRIPTION

Keywords

tasktask_stop_tool_nametaskstopdescriptionstopsrunningbackgroundtakestask_idparameter

Detected imports

  • No import paths detected.

Source notes

This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.

Open parent directory

Full source

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
`