ocd_list_context_roots
Get context roots by searching settings from a specified working directory. Returns ids for use with context tree, context retrieval, and mutation tools.
Instructions
[OCD] Context Root 一覧を取得(cwd から設定を探索)
重要: 返却される id を以下のツールで使用してください:
get_context_tree: rootIds に id を配列で指定 例: rootIds: ["tairikut-docs"]
get_contexts: patterns に "id/" 形式で指定 例: patterns: ["tairikut-docs/"]
mutate_context: path に "id/subpath" 形式で指定 例: path: "tairikut-docs/features/new"
⚠️ 注意: path フィールドは実際のファイルシステムパスです。 ツール引数には使用しないでください。id を使用してください。
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": {
"cwd": "<cwd>"
},
"name": "ocd_list_context_roots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | 作業ディレクトリ(設定探索の起点) |