spss_declare_variables
Declare empty numeric or string variables with custom formats (e.g., F8.2, A20) in an IBM SPSS Statistics dataset.
Instructions
Declare new empty variables: NUMERIC var (F8.2) / STRING var (A20). numeric_vars: {name: format}, string_vars: {name: format}. Requires IBM SPSS Statistics.
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": {
"file_path": "<file_path>"
},
"name": "spss_declare_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| output_path | No | ||
| string_vars | No | ||
| numeric_vars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |