register_tool
Publish a Python callable as an MCP tool in the IPython execution environment, making it invocable by clients. Provide the function name and optional tool name/description.
Instructions
Explicitly publish one supported top-level synchronous live callable.
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": "register_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tool_name | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| runtime | No | ||
| registration | No |