Index Codebase Areas
cph_codebase_indexRegister or update codebase area ownership for a workflow, defining responsibilities and dependencies.
Instructions
Register or update file area ownership for a workflow.
Use this during plan mode to declare which parts of the codebase are relevant to the current workflow, what their responsibilities are, and their dependencies.
Each area is a path pattern (e.g. "src/auth/**") with an optional responsibility description and dependency list.
Upserts by workflow_id + path_pattern — safe to call multiple times.
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": {
"workflow_id": "<workflow_id>",
"areas": "<areas>"
},
"name": "cph_codebase_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| areas | Yes |