decode_class_map
Decode the last burst of a one-layer class map into class IDs to see what a classifier, segmentation OPU, or mask IPU labeled, returning a class histogram and capped pixel rows.
Instructions
Decode the last burst of a one-layer class map into class ids.
One fire-queue read, decoded locally with round(p * class_count) - 1. Use on a
classifier twin, the segmentation OPU, or the mask IPU to see what the brain labeled.
Returns a class histogram and at most max_pixels pixel rows to limit tokens.
Args:
area_id: One-layer class map (base64).
class_count: Class count the map encodes.
max_pixels: Cap on returned {x, y, class_id} rows (0..5000).
Returns:
fired, class_histogram, undecodable (potentials that name no class),
pixels, truncated, and timestep.
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": {
"area_id": "<area_id>",
"class_count": "<class_count>"
},
"name": "decode_class_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area_id | Yes | ||
| max_pixels | No | ||
| class_count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||