export_agent_rules
Turn a governance ruleset into agent-native guidance — an AGENTS.md block, a system-prompt set, a per-rule remediation pack, and a digest — so agents follow the rules while authoring, not after linting.
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": {
"ruleset": "<ruleset>"
},
"name": "export_agent_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable. | |
| ruleset | Yes | A Spectral ruleset to run instead of the catalog default. Score against rules you never adopted means little — pass your own. |