list_collections
Discover Directus collection names and metadata before reading or writing data; results flag folders and inactive collections and omit system collections unless include_system is true.
Instructions
Lists every collection in the Directus instance with its metadata, so the data model can be discovered before anything is read or written. Start here when the collection name is unknown; use get_collection_schema for the fields of one collection and get_collection_items to read its rows. Folders (grouping elements with no table behind them) and inactive collections (Directus 12.4 refuses to read or write their contents) are flagged in the result. System collections are omitted unless include_system is true. Returns one entry per collection with its name, metadata and those flags.
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_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_system | No | Include system collections |