Add Attribute Rule
arcgis_pro_add_attribute_ruleCreate constrained attribute rules with AddAttributeRule and verify them afterward, requiring schema-change gates and exact target confirmation.
Instructions
用官方 AddAttributeRule 创建受约束属性规则并后验核验;需要方案变更双门、目标精确回显和固定确认短语。
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": {
"dataset_path": "<dataset_path>",
"rule_name": "<rule_name>",
"rule_type": "<rule_type>",
"script_expression": "<script_expression>",
"expected_dataset": "<expected_dataset>",
"confirmation": "<confirmation>"
},
"name": "arcgis_pro_add_attribute_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| batch | No | ||
| field | No | ||
| severity | No | ||
| subtypes | No | ||
| rule_name | Yes | ||
| rule_type | Yes | ||
| description | No | ||
| is_editable | No | ||
| confirmation | Yes | ||
| dataset_path | Yes | ||
| error_number | No | ||
| error_message | No | ||
| expected_dataset | Yes | ||
| script_expression | Yes | ||
| triggering_events | No | ||
| triggering_fields | No | ||
| exclude_from_client_evaluation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||