gograph_schema
Locate Go structs that map to a specific database table or schema using struct tags like db or gorm. Useful for tracing ORM model boundaries.
Instructions
Locate Go structs that map to a specific database table or schema using struct tags like db or gorm. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool when mapping ORM structures, tracing database model boundaries, or locating table schemas. Do NOT use for non-ORM Go structs (use gograph_fields instead). COMPLETENESS: Requires 'table' parameter. Returns concrete structs mapping to the specified table. Example table: 'users'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | The table or schema name to search for in struct tags (e.g., 'users', 'roles') |