Run a site command
run_commandExecute a listed site command for a chosen site, passing arguments, options, and limits to return structured JSON results.
Instructions
Run any sitewise site command from list_commands, e.g. site="devto" command="top", or site="tvmaze" command="search" args=["severance"]. Returns structured JSON.
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": {
"site": "<site>",
"command": "<command>"
},
"name": "run_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | positional arguments, e.g. the search query | |
| site | Yes | adapter name, e.g. hackernews, reddit, github | |
| limit | No | max results, when the command supports it (shorthand for options.limit) | |
| command | Yes | command name, e.g. top, search | |
| options | No | any of the command's options by name, e.g. {"time": "week"} for reddit top; see list_commands |