Read a structured Laravel database snapshot
laravel_database_snapshotRead a bounded count of rows from a Laravel database table using structured filters, ordering, and limit.
Instructions
Reads a count and bounded rows through Laravel's query builder. Table, columns, filters, ordering, and limit are structured; model-provided raw SQL is not accepted.
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>",
"query": "<query>"
},
"name": "laravel_database_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| query | Yes | ||
| project | Yes | Project key from list_projects. | |
| timeoutSeconds | No |