get_rule
Retrieve an Antigravity rule file’s full content and triggers by name or path. Use it to inspect rule logic before orchestrating local workflows.
Instructions
Reads the full content and triggers of an Antigravity rule file by name or path.
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": {
"rule_identifier": "<rule_identifier>"
},
"name": "get_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_identifier | Yes | Name or file path of the rule (e.g. 'GEMINI.md', 'AGENTS.md', or custom rule name). |