Call Tool
call_toolExecutes a nextdns-mcp tool by its exact search_tools name, passing the required arguments object; use it after finding a tool to run profile, log, analytics, or security operations.
Instructions
Run one of this server's tools by the exact name returned by search_tools.
Takes exactly one argument object, {"name": "", "arguments": {<that tool's
parameters>}}; the name and the arguments are not two separate inputs. name
selects one tool: one search result's name field. If the search answer itself
is passed instead - the array of results, or one result object - it resolves to
the highest-ranked tool in it, because the answer is in rank order; a
multi-result answer whose highest-ranked tool is a write is refused rather than
executed, and the refusal names the candidates so the call can be re-sent with
one name. Anything search_tools did not return is not a tool of this server. A
failed call returns a JSON payload with an error code and, when available, a
hint.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "call_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the tool to call | |
| arguments | No | Arguments to pass to the tool |