gograph_boundaries_create
Creates a baseline architecture boundary configuration from a repository's current package imports, defaulting to gograph/boundaries.json for review and tightening, and refuses overwrite or unsafe paths.
Instructions
Create a baseline architecture boundary configuration from the repository's current package imports. Defaults to the committable gograph/boundaries.json under the graph root, uses repository-rooted regular-file creation, and refuses linked paths or overwrite. Mutating and non-idempotent; no network access. WHEN TO USE: Once when adopting boundary checks in an existing repository, then review and tighten the generated rules. NOT TO USE: To verify an existing configuration (use gograph_boundaries). RETURNS: The written config path or an error when the path is unsafe or already exists.
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_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| config | No | Optional in-project output path, absolute or repository-relative; linked components and existing entries are refused (default gograph/boundaries.json) | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. |