write_doc
Write or overwrite markdown documentation files, automatically creating parent folders. Accepts document type, slug, and content.
Instructions
Write or overwrite a documentation file. Content must be markdown. Creates parent folder if needed.
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": {
"docType": "<docType>",
"slug": "<slug>",
"content": "<content>"
},
"name": "write_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Filename or slug (e.g. my-feature.md) | |
| content | Yes | Markdown content to write | |
| docType | Yes | Document type |