Hello OpenClaw community,
I am operating OpenClaw in a Windows environment and am currently trying to register an external Python script as a custom tool within OpenClaw.
I defined my tool configurations under a custom key within the tools section of openclaw.json. However, upon restarting the gateway, I consistently receive the error: tools: Unrecognized key: "custom", preventing OpenClaw from starting.
[Current Configuration Example (Excerpt)]
{
"tools": {
"web": {
"search": { "enabled": false },
"fetch": { "enabled": true }
},
"custom": { // This is reported as an Unrecognized key
"my_script_start": { // Placeholder tool name
"name": "my_script_start",
"description": "Custom tool to start a Python script",
"command": "python C:\Users\hmp5t\.openclaw\workspace\GoogleDrive\DiscordScrapper\matoi_manager.py start"
},
"my_script_stop": {
// ... other Python script tools defined similarly ...
}
}
},
// ... other configurations ...
}
The OpenClaw documentation (Configuration Reference) includes examples with tools.custom descriptions. Is this method of registration no longer supported in the current version?
Could you please provide the correct configuration method (JSON format) for defining and enabling custom Python script tools within openclaw.json?
Any guidance would be greatly appreciated.
Thank you for your time and assistance.
{
"tools": {
"web": {
"search": { "enabled": false },
"fetch": { "enabled": true }
},
"custom": { // This is reported as an Unrecognized key
"my_script_start": { // Placeholder tool name
"name": "my_script_start",
"description": "Custom tool to start a Python script",
"command": "python C:\Users\hmp5t\.openclaw\workspace\GoogleDrive\DiscordScrapper\matoi_manager.py start"
},
"my_script_stop": {
// ... other Python script tools defined similarly ...
}
}
},
// ... other configurations ...
}