gograph_boundaries
Refresh source analysis and check package imports against a boundaries.json config to enforce layer separation in CI gates or post-edit reviews. Returns pass state and boundary violations.
Instructions
Refresh source analysis and check package imports against a boundaries.json configuration. The required config defaults to the committable gograph/boundaries.json, then .gograph/boundaries.json; explicit paths must remain inside the analyzed project, and every path component plus the final regular file is read through the rooted repository boundary. Create it with gograph_boundaries_create. WHEN TO USE: In CI gates or post-edit reviews to enforce layer separation. NOT TO USE: For unconstrained dependency exploration (use gograph_deps or gograph_coupling). RETURNS: Structured pass state and boundary violations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gograph_boundaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| limit | No | Rows per page. | |
| config | No | Optional in-project path to a regular, non-linked boundary config (default gograph/boundaries.json, then .gograph/boundaries.json) | |
| cursor | No | next_cursor from the previous page. | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. |