set_convention
Append a new coding convention to the AGENTS.md file and receive the line number where it was added.
Instructions
Append a new convention to AGENTS.md and return its line number.
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": {
"text": "<text>"
},
"name": "set_convention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | A new convention to append. Plain English, ~1-3 sentences. Don't repeat existing conventions; cite the lesson id if relevant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||