register_dependency
Declare that a repo consumes an API surface (e.g., http:GET /orders/:id) so changes to it are delivered to that repo; optionally name the producing repo to map dependencies.
Instructions
Declare that this repo consumes a surface (for example http:GET /orders/:id), so changes to that surface are delivered to this repo. producedRepoId optionally names the producing repo. Repeating the same declaration is harmless. Changes to a declared surface then reach this repo through notify and its inbox. Use consumers to see who depends on a surface.
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": {
"producedSurface": "<producedSurface>"
},
"name": "register_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| producedRepoId | No | Optional id of the repo that produces the surface, when known. | |
| producedSurface | Yes | Surface this repo depends on, for example http:GET /orders/:id. |