run_python_toolbox_tool
Run a specific tool from a custom .pyt, .atbx, or .tbx toolbox on disk by providing its path and tool name, for automating geoprocessing tasks in ArcGIS Pro.
Instructions
Run a tool from a custom .pyt / .atbx / .tbx toolbox on disk.
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": {
"toolbox_path": "<toolbox_path>",
"tool_name": "<tool_name>"
},
"name": "run_python_toolbox_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Positional parameters. | |
| alias | No | Toolbox alias to import under. | |
| tool_name | Yes | Tool name inside the toolbox. | |
| parameters | No | Keyword parameters. | |
| toolbox_path | Yes | Path to the toolbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |