Browse locations & people
list_resourcesThe organization's PLACES and PEOPLE in one call, the structural twin of inventory_overview: "what rooms do we have?", "who is in the organization?", "what is in the Schulhaus Dorf?". Returns locations and people as NESTED trees (buildings → floors → rooms; departments → people), each node carrying id, name and count. A node id is the search_items filter for the items behind a count: currentLocationId for a place, currentHolderId for a person; the two match exactly. A LOCATION's count covers its whole subtree (a building counts its rooms' items, as search_items does by default); a PERSON's count is what that one person holds, since currentHolderId matches one person and never a subtree. Person nodes also carry email, hasAccount (the record is linked to a login account; member userIds come from list_members) and isMe for the connected user's own record. assignable: false marks a record items cannot be assigned to; search_resources never returns those. type limits the answer to one tree. truncated: true means the organization is bigger than one bounded pass, and the counts are lower bounds.
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_resources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only this tree; absent = both |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people | No | The people tree, top level first — departments → people | |
| locations | No | The location tree, top level first — buildings → floors → rooms | |
| truncated | No | A bounded read hit its cap — treat the counts as lower bounds and the tree as possibly incomplete |