create_workspace_rule
Create Antigravity rules in workspace files or global settings to control when agents load markdown instructions, ensuring project-specific guidance is available in context.
Instructions
Creates an Antigravity rule in the workspace (.agents/rules/*.md or GEMINI.md) or global settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'workspace' or 'global'. | workspace |
| content | Yes | Rule instructions in markdown. | |
| trigger | No | When the rule should be loaded into context. | always_on |
| filename | Yes | Rule filename (e.g. 'code-style.md' or 'GEMINI.md'). |