talonic_data_product_resolve_field
Record the value to keep for one field of one document where the runs disagree, how it was chosen (selection_method, for example run or manual) and the candidates seen (source_values, one per run). Recorded for the caller; deciding again replaces the earlier decision. USE WHEN the user picked a value, or accepted a suggestion. Needs products:write.
How an agent uses it
- Not for: deciding every field only one run filled (talonic_data_product_resolve_singles).
Availability
Listed when your role can see the workspace's data products; changes need products:write on a connector session. 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 |
|---|---|---|
| data_product_id * | string | The data product id (from GET /v1/data-products) |
| document_id * | string | The document the field belongs to |
| field_name * | string | The field to decide |
| canonical_value * | string | The value to keep |
| selection_method * | string | How the value was chosen, for example `run` or `manual` |
| source_values * | object[] | The candidates seen, one per run |
Example
Tool input
{
"data_product_id": "<data_product_id>",
"document_id": "<document_id>",
"field_name": "<field_name>",
"canonical_value": "<canonical_value>",
"selection_method": "<selection_method>",
"source_values": [
"<source_value>"
]
}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.