create_tool
Generate, validate, and install custom MCP tools for SysControl, making them permanently available after agent restart.
Instructions
Generates, validates, and installs a new MCP tool permanently into the server. Requires allow_tool_creation: true in ~/.syscontrol/config.json. The tool is available after restarting the agent.
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>",
"description": "<description>",
"implementation": "<implementation>"
},
"name": "create_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | snake_case tool identifier, e.g. 'get_spotify_track'. | |
| prompt_doc | No | Optional usage notes to insert into the system prompt. | |
| description | Yes | One-sentence description of what the tool does. | |
| implementation | Yes | Complete Python function definition(s). stdlib is available; add 'import X' inside the function for extras. | |
| parameters_schema | No | JSON Schema object for tool inputs. Omit for no-arg tools. |