swap_grid_entries
Swap the time slots of two planned tiles — the grid's drag-to-reorder. Each ends up with the other's time. A kind is "post" (a draft or scheduled post, by its post id) or "placeholder". A published post cannot be moved.
Swapping a scheduled post moves when it will actually be published, so check the two times with the user first. If the second move fails the first is put back and nothing changes. Returns the updated grid.
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": {
"workspace_id": "<workspace_id>",
"first_kind": "<first_kind>",
"first_id": "<first_id>",
"second_kind": "<second_kind>",
"second_id": "<second_id>"
},
"name": "swap_grid_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first_id | Yes | ||
| second_id | Yes | ||
| first_kind | Yes | ||
| second_kind | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| planned | Yes | ||
| has_more | Yes | ||
| username | No | ||
| published | Yes | ||
| media_count | No | ||
| placeholders | Yes | ||
| follows_count | No | ||
| showing_last_n | Yes | ||
| followers_count | No | ||
| total_published | Yes |