diff options
| author | olcan <[email protected]> | 2025-05-04 16:26:20 -0700 |
|---|---|---|
| committer | Olcan <[email protected]> | 2025-05-05 17:10:45 -0700 |
| commit | b8b3a288c74927f52618e1d7444f83486f9a64f5 (patch) | |
| tree | c3d36ebe865eb4a7233ad9d51a33a1851029c3f3 /packages/server/src | |
| parent | 9742f6e4a2fd6b3373ceaeeae0934184e983a938 (diff) | |
extra spacing in discovered tool descriptions
Diffstat (limited to 'packages/server/src')
| -rw-r--r-- | packages/server/src/tools/tool-registry.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/server/src/tools/tool-registry.ts b/packages/server/src/tools/tool-registry.ts index f8a5b0f2..61350007 100644 --- a/packages/server/src/tools/tool-registry.ts +++ b/packages/server/src/tools/tool-registry.ts @@ -22,6 +22,7 @@ export class DiscoveredTool extends BaseTool<ToolParams, ToolResult> { const discoveryCmd = config.getToolDiscoveryCommand()!; const callCommand = config.getToolCallCommand()!; description += ` + This tool was discovered from the project by executing the command \`${discoveryCmd}\` on project root. When called, this tool will execute the command \`${callCommand} ${name}\` on project root. Tool discovery and call commands can be configured in project settings. @@ -99,6 +100,7 @@ export class DiscoveredMCPTool extends BaseTool<ToolParams, ToolResult> { ) { const mcpServerCmd = config.getMcpServerCommand()!; description += ` + This MCP tool was discovered from a local MCP server using JSON RPC 2.0 over stdio transport protocol. The MCP server was started by executing the command \`${mcpServerCmd}\` on project root. When called, this tool will invoke the \`tools/call\` method for tool name \`${name}\`. |
