getCollections
Retrieve all collection schemas from the Directus CMS API using the Model Context Protocol. Simplify schema management by accessing structured data without manual configuration.
Instructions
Get all collection schemas from Directus
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": "getCollections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Authentication token (default from config) | |
| url | No | Directus API URL (default from config) |