22 pages for toolname.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
customer-support-chat
Claude Developer Platform · in the page
about-claude/use-case-guides/customer-support-chat
…error occurred: Unexpected response type"); } handleToolUse(toolName: string, toolInput: unknown): string { if (toolName === "get_quote") { // The SDK types tool_use.input as u…
mcp-connector
Claude Developer Platform · in the page
agents-and-tools/mcp-connector
…es // exactly these entries and doesn't ask the server again. var toolNames []string var pinnedTools []anthropic.BetaMCPToolParam for _, tool := range listing.Tools { toolNames = append(too…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…k.AsAny().(type) { case anthropic.BetaMCPToolListingBlock: var toolNames []string for _, tool := range variant.Tools { toolNames = append(toolNames, tool.Name) } fmt.Println(va…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…_get_temperature"], permissionMode: "default", canUseTool: async (toolName, input) => { console.log(`Approval requested for ${toolName}`); return { behavior: "allow", updatedInput: input }…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…erver depends on where you configured it. If you set `permissionPromptToolName`, the first turn always waits for that tool's server, up to `MCP_TIMEOUT`, wherever you configured it. For a server in `…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…cs/en/agent-sdk/permissions.md#permission-modes) | | `permissionPromptToolName` | `string` | `undefined` | MCP tool name for permission prompts | | `permissionPrompts` | `'host' \| 'none'` | `'host'`…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…c-ai/claude-agent-sdk"; const handleToolRequest: CanUseTool = async (toolName, input, options) => { // options includes { signal: AbortSignal, suggestions?: PermissionUpdate[] } // Prompt the use…
Hooks reference
Claude Code CLI · in the page
hooks
…on_suggestions": [ { "type": "addRules", "rules": [{ "toolName": "Bash", "ruleContent": "rm -rf node_modules" }], "behavior": "allow", "destination": "localSettings" }…
Tools reference
Claude Code CLI · in the page
tools-reference
…uments-with-the-if-field) All of these accept the same rule format, `ToolName(specifier)`. The specifier depends on the tool, and several tools share a format: | Rule format | Applies to | Details |…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…hout approval. > > > [accordion] Child attributes (2) > > > > **tools.toolName** `string` *required* > > > > MCP tool name as the server reports it. > > > > **tools.permission** `enum` *required* > >…
Configuration changelog
Claude Documentation · in the page
third-party/claude-desktop/configuration-changelog
…inSettings` is published as an array of `{ "serverName", "tools": [{ "toolName", "permission" }] }` entries; the `{ "mcpServers": {…} }` record form is deprecated (below). * The published bootstrap JS…
Build an MCP client
Model Context Protocol · in the page
docs/2024-11-05/develop/build-client
….text); > } else if (content.type === "tool_use") { > const toolName = content.name; > const toolArgs = content.input as { [x: string]: unknown } | undefined; > > const result =…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
….text); > } else if (content.type === "tool_use") { > const toolName = content.name; > const toolArgs = content.input as { [x: string]: unknown } | undefined; > > const result =…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
….text); > } else if (content.type === "tool_use") { > const toolName = content.name; > const toolArgs = content.input as { [x: string]: unknown } | undefined; > > const result =…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
….text); > } else if (content.type === "tool_use") { > const toolName = content.name; > const toolArgs = content.input as { [x: string]: unknown } | undefined; > > const result =…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…--method tools/call --tool-name my_tool --app-info # {"hasApp":true,"toolName":"my_tool","resourceUri":"ui://...","csp":{...},"permissions":{...}} # Every tool -> NDJSON, one line each, over a singl…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…&` chain short-circuits: ```json theme={null} { "hasApp": true, "toolName": "get_pros", "resourceUri": "ui://pros/view.html", "csp": { "connectDomains": ["https://api.example.com"] }, "perm…
Web client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/web
…. | Three further parameters land you on a *rendered app*: `openApp=<toolName>` names the tool, `appArgs=<base64url(JSON)>` supplies its arguments (merged over the tool's schema defaults), and `autoO…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…--method tools/call --tool-name my_tool --app-info # {"hasApp":true,"toolName":"my_tool","resourceUri":"ui://...","csp":{...},"permissions":{...}} # Every tool -> NDJSON, one line each, over a singl…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…&` chain short-circuits: ```json theme={null} { "hasApp": true, "toolName": "get_pros", "resourceUri": "ui://pros/view.html", "csp": { "connectDomains": ["https://api.example.com"] }, "perm…
Web client
Model Context Protocol · in the page
docs/draft/tools/inspector/web
…. | Three further parameters land you on a *rendered app*: `openApp=<toolName>` names the tool, `appArgs=<base64url(JSON)>` supplies its arguments (merged over the tool's schema defaults), and `autoO…
SEP-1686: Tasks
Model Context Protocol · in the page
seps/1686-tasks
…: status: working<br/>childTasks: [{<br/> taskId: "build-456",<br/> toolName: "run_build",<br/> arguments: {...}<br/>}, {<br/> taskId: "test-789",<br/> toolName: "run_tests",<br/> arguments: {..…