Add Relate
arcgis_pro_add_relateAdd a temporary relate to a layer or table view in ArcGIS Pro, linking it to another table by fields. Permanent relationships require CreateRelationshipClass.
Instructions
向唯一图层或表视图添加临时 relate;永久关系仍使用 CreateRelationshipClass。
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>",
"item_kind": "<item_kind>",
"item_identifier": "<item_identifier>",
"input_field": "<input_field>",
"relate_table_path": "<relate_table_path>",
"relate_field": "<relate_field>",
"relate_name": "<relate_name>"
},
"name": "arcgis_pro_add_relate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_name | Yes | ||
| aprx_path | Yes | ||
| item_kind | Yes | ||
| cardinality | No | ONE_TO_MANY | |
| input_field | Yes | ||
| relate_name | Yes | ||
| relate_field | Yes | ||
| item_identifier | Yes | ||
| relate_table_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||