Reorder Decks in a Space
codecks_add_decks_to_space_afterMoves specified decks to a position immediately after a target deck within a Codecks space, enabling precise deck ordering.
Instructions
Move decks to a position after a target deck inside a space.
Args:
deck_ids (string[]): Deck IDs to move
target_id (string): Target deck ID to insert after
target_project_id (string): Target project ID
target_space_id (number): Target space ID
session_id (string, optional): Client session ID from web app
Returns: API response payload with ordering results.
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": {
"deck_ids": "<deck_ids>",
"target_id": "<target_id>",
"target_project_id": "<target_project_id>",
"target_space_id": "<target_space_id>"
},
"name": "codecks_add_decks_to_space_after"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deck_ids | Yes | Deck IDs to move | |
| target_id | Yes | Target deck ID to insert after | |
| session_id | No | [DEPRECATED] Client session ID - not required for MCP usage | |
| target_space_id | Yes | Target space ID | |
| target_project_id | Yes | Target project ID |