* Adds an MCP tool pattern. Matches tools advertised by any configured * MCP server. * * @param toolName The runtime's canonical wire name for the MCP tool * (e.g. `"github-list_issues"`), or `"*"` to match all MCP tools from * any server.
(toolName: string)
| 95 | * any server. |
| 96 | */ |
| 97 | addMcp(toolName: string): ToolSet { |
| 98 | validateName("mcp", toolName); |
| 99 | this.items.push(`mcp:${toolName}`); |
| 100 | return this; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Returns a defensive copy of the accumulated filter strings, suitable for |
no test coverage detected