Add Database Connection
arcgis_pro_add_database_connectionAdd a database connection to an ArcGIS Pro project, with the option to set it as the default geodatabase.
Instructions
向工程目录追加一个受输入根约束的数据库连接,可设为默认地理数据库。
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>",
"database_path": "<database_path>"
},
"name": "arcgis_pro_add_database_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| validate | No | ||
| aprx_path | Yes | ||
| make_default | No | ||
| database_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||