altair_generate_attribute
Creates a new calculated column by applying a RapidMiner expression to existing attributes.
Instructions
Create a new derived/calculated column using a RapidMiner expression, e.g. attributeName="profit", expression="revenue - cost". Covers action 21 (create new variables via formulas).
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": {
"attributeName": "<attributeName>",
"expression": "<expression>"
},
"name": "altair_generate_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csvFile | No | Absolute path to a local CSV file to read directly (bypasses the repository). Use this OR repositoryEntry. | |
| expression | Yes | RapidMiner expression syntax, e.g. "revenue - cost" or "log(price)". | |
| attributeName | Yes | ||
| repositoryEntry | No | Altair AI Studio repository path, e.g. "//Local Repository/data/customers" or "//Samples/data/Iris". Use this OR csvFile. |