MCPcopy
hub / github.com/virattt/dexter / RegisteredTool

Interface RegisteredTool

src/tools/registry.ts:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 * A registered tool with its rich description for system prompt injection.
26 */
27export interface RegisteredTool {
28 /** Tool name (must match the tool's name property) */
29 name: string;
30 /** The actual tool instance */
31 tool: StructuredToolInterface;
32 /** Rich description for system prompt (includes when to use, when not to use, etc.) */
33 description: string;
34 /** 1-2 sentence description for token-optimized system prompts. */
35 compactDescription: string;
36 /** Whether this tool can safely execute concurrently with other concurrent-safe tools. */
37 concurrencySafe: boolean;
38}
39
40/**
41 * Get all registered tools with their descriptions.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected