Remove staff time block
Removes a block made with block_time, so the time can be booked online again.
MCP tool planity_write → remove_block
write
Returns the id of the removed block. It reaches no one and block_time puts the block back, so it does not wait for your OK. For a repeating block it removes the whole series.
Parameters
| Name | Type | Description |
|---|---|---|
| block_id string required | string | Id from block_time or from the blocks of list_appointments. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "planity_write",
"arguments": {
"operation": "remove_block",
"arguments": {
"block_id": "block_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"block_id": "b_330",
"removed": true
},
"isError": false
}