talonic_workbook_correct_mapping
Correct one label's mapping; it counts as approved and every later workbook uses it. scope header_leaf applies the metric or ignore decision to every column header ending in the same label.
How an agent uses it
- Use it when: a label maps wrongly.
- Not for: approving one as it stands (talonic_workbook_approve_mapping).
- Arguments:
structure_id,label_key,scope,metric,set,ignore. Needs documents:write.
Availability
Listed when the Workbook capture app is enabled for your workspace and your role can use it. Being listed only means the tool is visible: Talonic checks your role again on every call.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| structure_id * | string | The target structure id. |
| label_key * | string | The label key from talonic_workbook_list_mappings. |
| scope | "label" | "header_leaf" | — |
| metric | string | — |
| set | object | — |
| ignore | boolean | — |
Example
Tool input
{
"structure_id": "<structure_id>",
"label_key": "<label_key>"
}Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.