gograph_skeleton
Generate stripped Go API signatures—structs, interfaces, function and method declarations—for one indexed file or the full repository to map codebase structure without implementations.
Instructions
Emit API signatures with function bodies stripped — struct definitions, interface declarations, and function/method signatures only. Supply file for one exact repository-relative indexed file (its output also starts with the file's import block); omit it for the full repository. Unknown files return an error. WARNING: whole-repository output can be very large. WHEN TO USE: For a file's declarations or a compact map of the entire codebase's shape. NOT TO USE: For full implementations (use gograph_source); for a single package (use gograph_public). RETURNS: Multi-line text of stripped declarations and package names.
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_skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional repository-relative indexed file; selects only that file's package, import block and declarations. Unknown files are errors, never a repository fallback. | |
| root | No | Absolute path of your checkout or worktree (alias cwd). | |
| intention | No | Rationale; required with an active session. | |
| session_id | No | Session from session_create; omit for none. |