Inspect Laravel database schema
inspect_database_schemaView database table schemas, columns, and counts in Laravel projects without altering data.
Instructions
Runs Laravel's read-only db:show or db:table command. It does not run migrations or write data.
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": {
"project": "<project>"
},
"name": "inspect_database_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| table | No | ||
| views | No | ||
| counts | No | ||
| project | Yes | Project key from list_projects. | |
| timeoutSeconds | No |