update
Refresh a previously installed content item when a newer version exists in the knowledge base, for opencode, Claude Code, Cline, Codex, or Copilot.
Instructions
Update a previously installed content item if a newer version is available in the knowledge base. Supports opencode, Claude Code, and Cline.
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": "update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the content to update (e.g. "rules/typescript") | |
| agent | Yes | Target AI agent (opencode, claude-code, cline, codex, or copilot). | |
| scope | No | Update scope (project or global). | project |
| projectDir | No | Project directory (defaults to current working directory). Config files are found by walking up. |