List saved queries
Lists the saved queries in HR Admin > Queries.
MCP tool peoplehr_read → list_queries
read
Returns the name, category and description of each saved query you can open. It needs an HR Admin account. Queries are built in PeopleHR; this tool does not create or edit them.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "peoplehr_read",
"arguments": {
"operation": "list_queries",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"queries": [
{
"name": "Probation ending soon",
"category": "Employment",
"description": "Probation end date in the next 28 days"
},
{
"name": "Sickness this quarter",
"category": "Absence",
"description": "Sick days by employee"
}
]
},
"isError": false
}