list_models
List Django models with fields and relations to identify risky code patterns. Optionally filter by app or exclude field details for a quick overview.
Instructions
List the project's models with their fields and relations.
Args:
app_label: Restrict to one app, e.g. "shop". Omit for all apps.
include_fields: Set False for a short overview without field details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_label | No | ||
| include_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||