check_pool_availability
Check which slots are free or occupied in an object pool before importing XML, and find contiguous free ranges for bulk imports of filters or MAtricks.
Instructions
Check which slots are occupied and free in an object pool (SAFE_READ).
Navigates to the pool, lists all entries, and computes a full
availability map: occupied slots (with names), free ranges,
next 10 free slots, and contiguous-block analysis.
Use this **before importing XML** to verify target slots are free,
or to find the best slot range for bulk imports (filters, MAtricks).
Valid pool types (case-insensitive):
Group, Sequence, Preset, Macro, Effect, Gel, World, Filter,
Form, Timer, Layout, Timecode, Agenda, UserProfile, Camera,
MAtricks, View, Remote
Numeric cd indexes also accepted (e.g. "13" for Macros, "19" for Filters).
Args:
pool_type: Pool keyword or numeric cd index.
start_from: First slot number to check (default 1).
scan_up_to: Last slot number to check (default 200).
needed_slots: If set, checks whether N contiguous free slots
exist and returns can_fit + suggested_start.
Returns:
str: JSON with occupied_slots, free_ranges, next_free_slots,
total_occupied, total_free_in_range, largest_contiguous,
can_fit, suggested_start, risk_tier.
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": {
"pool_type": "<pool_type>"
},
"name": "check_pool_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool_type | Yes | ||
| scan_up_to | No | ||
| start_from | No | ||
| needed_slots | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |