moxie.propose_doc_removal
Propose deleting a Moxie-tracked documentation file that your change makes irrelevant, as part of YOUR current change. Moxie validates the path and returns it for you to delete in your working branch; Moxie 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.
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-tracked doc). Use instead of slug. | |
| removedSourcePaths | No | Code paths being deleted that made this doc irrelevant, for provenance. |