List smart fields
list_smart_fieldsThe merchant's smart fields: custom product fields Foldsquare computes from a rule — a formula, or an AI instruction — with how many products have a value, how many are out of date, and the month's AI allowance, and what each holds (output: text, rich_text or boolean). Use a text field in a catalog by its catalogField (fields.<key>) in a product cell's fields; rich-text and yes/no fields have none and are placed from the editor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_smart_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | ||
| allowance | Yes |