getCurrentUser
Retrieve current user information from the Directus CMS API by providing the API URL and authentication token, simplifying user management through the Directus MCP Server.
Instructions
Get the current user info
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": "getCurrentUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Authentication token (default from config) | |
| url | No | Directus API URL (default from config) |