moxie.propose_doc_removal
Propose deleting a Moxie Docs-tracked documentation file that your change makes irrelevant, as part of YOUR current change. Moxie Docs validates the path and returns it for you to delete in your working branch; Moxie Docs itself does not delete files or open a PR - the deletion happens in your branch, so it lands in the SAME PR as the code. Returns the resolved path to delete. Provide either slug or targetPath.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "moxie.propose_doc_removal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Slug of the existing generated doc to remove. | |
| reason | No | Why this doc is no longer relevant. | |
| repository | No | The target repository as "owner/name" (e.g. "acme/app"). Always pass this unless your token is scoped to a single repository. Matching is case-insensitive. If omitted when the token serves multiple repos, the call returns the list of repositories to choose from instead of an answer. | |
| targetPath | No | Repository-relative path of the doc to remove (must be a Moxie Docs-tracked doc). Use instead of slug. | |
| removedSourcePaths | No | Code paths being deleted that made this doc irrelevant, for provenance. |