schema
List all database tables or show column details for a specific table in a Laravel project.
Instructions
Inspect the Laravel database schema: list all tables, or show column details for a specific table.
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": {
"action": "<action>"
},
"name": "schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Table name (required when action is 'columns') | |
| action | Yes | Whether to list all tables or show columns of a specific table |