Set resource
set_resourceAdd a room or a unit of equipment to a project's resources, or change the one named by 'id' — the WHOLE of it as written. Without 'id', an 'externalId' the project has changes that resource. Its buffers are minutes before and after an event during which it is still busy (setting up, clearing). Setting 'status' to 'repair' keeps it on the events that have it — they then show a conflict — and refuses it to new ones. Conflicts that appear or clear are told to webhooks of 'calendar:resource_conflict'. Anybody who may write in the project.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "set_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Where it stands on the plan, millimetres. | |
| y | No | Where it stands on the plan, millimetres. | |
| id | No | The resource to change. Leave out to add one. | |
| kind | No | 'room' or 'equipment' (default). | |
| name | Yes | Its name, e.g. 'Hall' or 'Big Dipper #3'. | |
| note | No | Free text. | |
| status | No | 'available' (default) or 'repair'. | |
| project | Yes | The project key, e.g. TH. | |
| externalId | No | Your own id for it, unique in the project. | |
| bufferAfter | No | Minutes after an event it is busy (clearing), 0-1440. | |
| moveMinutes | No | Minutes it takes to move or hang it at another point, 0-1440 — what a reconfiguration moving it lasts. Leave out to keep (15 for a new one). | |
| bufferBefore | No | Minutes before an event it is busy (setting up), 0-1440. |