desk_get_entity_fields
Retrieves field metadata for an entity type in a Desk department, providing field details for building search criteria and filters.
Instructions
Get field metadata for a specific entity type in a Desk department\n\nPrerequisites: Department ID from desk_get_all_departments\nNext Steps: Use field details for desk_search_entities criteria and filtering\nCommon Entities: tickets, contacts, accounts, agents, products\nError Recovery: If fields not found, verify department and entity type are valid
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"department_id": "<department_id>",
"entity_type": "<entity_type>"
},
"name": "desk_get_entity_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_type | Yes | Entity type (e.g., tickets, contacts, accounts, agents, products) | |
| department_id | Yes | Department ID (get from desk_get_all_departments) |