# Mutate Type Mutates the type of a value in the record. ## Example This example shows how to use the MutateType transformation to change the type of a value in a record. ```json { "operation": "mutate_type", "arguments": { "key": "field1", "type": "integer" } } ``` Given the input record: ```json { "field1": "123", "another_field": "another_value" } ``` The output record will be: ```json { "field1": 123, "another_field": "another_value" } ``` This example shows how to change the type to a boolean: ```json { "operation": "mutate_type", "arguments": { "key": "field2", "type": "boolean" } } ``` Given the input record: ```json { "field2": "true", "another_field": "another_value" } ``` The output record will be: ```json { "field2": true, "another_field": "another_value" } ```