Upsert Definition Query
arcgis_pro_upsert_definition_queryCreate or update a named definition query on an ArcGIS Pro layer or table, and optionally set it as the only active query.
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>",
"map_name": "<map_name>",
"member_name": "<member_name>",
"name": "<name>",
"sql": "<sql>"
},
"name": "arcgis_pro_upsert_definition_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| name | Yes | ||
| map_name | Yes | ||
| aprx_path | Yes | ||
| is_active | No | ||
| member_name | Yes | ||
| member_type | No | LAYER |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||