Add Project Toolbox
arcgis_pro_add_project_toolboxAdd a controlled .atbx or .tbx toolbox to an ArcGIS Pro project, optionally set it as default, and reject executable .pyt files.
Instructions
向工程目录追加一个受控 .atbx/.tbx 工具箱,可设为默认工具箱;拒绝可执行 .pyt。
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": {
"aprx_path": "<aprx_path>",
"toolbox_path": "<toolbox_path>"
},
"name": "arcgis_pro_add_project_toolbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validate | No | ||
| aprx_path | Yes | ||
| make_default | No | ||
| toolbox_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||