cigchat_flow_create_user_field
Create a custom user field in cig.chat, specifying name, value, and type. Optionally add a namespace or description for management.
Instructions
create new user field [POST /flow/create-user-field] Requires the "Manage Flow" scope on the token.
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": {
"name": "<name>",
"value": "<value>",
"var_type": "<var_type>"
},
"name": "cigchat_flow_create_user_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field name | |
| value | Yes | Field value Example: 'string', 123, true, '2018-07-18', '2018-07-02T00:00:00+00:00' | |
| var_ns | No | Accepts either the user_field namespace id or the user_field's exact name — the server resolves names automatically. | |
| var_type | Yes | One of: text, number, boolean, date, datetime, array, longtext. Example: text | |
| description | No |