Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
DIRECTUS_URL | No | URL of your Directus instance | |
DIRECTUS_EMAIL | No | Email for Directus authentication | |
DIRECTUS_PASSWORD | No | Password for Directus authentication | |
DIRECTUS_ACCESS_TOKEN | No | Static access token for Directus authentication |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
getItems | Get items from a collection in Directus |
getItem | Get a single item from a collection by ID |
createItem | Create a new item in a collection |
updateItem | Update an existing item in a collection |
deleteItem | Delete an item from a collection |
getSystemInfo | Get system information from Directus |
getCollections | Get all collection schemas from Directus |
login | Login to Directus and get an access token |
getActivity | Get activity logs from Directus |
getFields | Get fields for a collection |
getRelations | Get relations for a collection |
getFiles | Get files from Directus |
uploadFile | Upload a file to Directus |
getUsers | Get users from Directus |
getCurrentUser | Get the current user info |
getRoles | Get roles from Directus |
getPermissions | Get permissions from Directus |
getConfig | Get current configuration information (without secrets) |