list_relations
Lists all foreign keys and relationships (M2O, O2M, M2M) in a Directus instance, providing a complete overview of database relations.
Instructions
List all relations (foreign keys, M2O, O2M, M2M) in the Directus instance.
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_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||