uninstall
Remove a content item's file and its config reference from your project or global setup for AI agents like opencode, Claude Code, Cline, and Codex.
Instructions
Uninstall a content item from the current project. Removes the file and the config reference. Supports opencode, Claude Code, Cline, and Codex.
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": {
"path": "<path>",
"agent": "<agent>"
},
"name": "uninstall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the content to uninstall (e.g. "rules/typescript") | |
| agent | Yes | Target AI agent (opencode, claude-code, cline, codex, or copilot). | |
| scope | No | Installation scope (project or global). | project |
| projectDir | No | Project directory (defaults to current working directory). Config files are found by walking up. |