read_model
Retrieve the full source code and parsed metadata of a Laravel Eloquent model, including relations, casts, and static configuration, for introspection.
Instructions
Return the full source code of a model file plus parsed metadata (relations, casts, static config). Read-only.
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": {
"name": "<name>"
},
"name": "read_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Model class name (e.g. 'User') |