Fill in a smart field
generate_smart_fieldCompute a smart field's values in the background: missing (products with no value yet) or stale (values out of date because the product changed, and ones that failed). Values the merchant typed by hand are never replaced. AI fields count each product against the monthly allowance; work stops when it runs out.
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": {
"fieldId": "<fieldId>"
},
"name": "generate_smart_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "missing": products with no value yet; "stale": out-of-date and failed values | missing |
| fieldId | Yes | The field id, as list_smart_fields returned it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | The field's key | |
| status | Yes | ||
| products | Yes | Products being filled in |