transform_transform_coerce
Type-coerce values in a record to specified types. Define expected types for each key; returns the coerced record and a list of errors.
Instructions
[transform] Type-coerce values. types={key: str/int/float/bool/list/dict/null}. Returns {result, coerced, errors}.
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": {
"record": "<record>",
"types": "<types>"
},
"name": "transform_transform_coerce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | ||
| types | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |