convert_to_atomic_format
Convert legacy markdown files into atomic pending proposals, one per block, inferring scope from text and staging changes for human review instead of writing Markdown.
Instructions
Convert a legacy markdown file into atomic-format pending_proposals,
one per legacy block, with best-effort scope inference from each block's
text. Never writes .md files directly — always stages for human review
via approve_proposal.
Access level: write. Returns: JSON with the number of proposals created and their id/type/ scope_id/suggested_file.
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": {
"filepath": "<filepath>",
"default_scope_id": "<default_scope_id>",
"doc_type": "<doc_type>"
},
"name": "convert_to_atomic_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_type | Yes | 'rules' or 'lessons' — which legacy parser and destination to use. | |
| filepath | Yes | Path to the legacy (### -style) markdown file to convert. | |
| default_scope_id | Yes | Fallback scope used when scope inference from the block's text doesn't match a known technology keyword. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |