Spss Process
spss_processRun Hayes PROCESS Model 4 mediation in SPSS to estimate direct, indirect, and total effects with bootstrap confidence intervals, parallel mediators, covariates, and pairwise contrasts.
Instructions
Run the locally installed Hayes PROCESS macro for model 4 mediation. Supports one mediator or multiple parallel mediators, bootstrap confidence intervals, covariates, total/direct/indirect effects, pairwise indirect-effect contrasts, effect sizes, and standardized coefficients. The trusted macro path is auto-detected or configured with SPSS_PROCESS_MACRO_PATH; callers cannot supply an arbitrary macro file.
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>",
"x": "<x>",
"y": "<y>",
"mediators": "<mediators>"
},
"name": "spss_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| seed | No | ||
| model | No | ||
| file_path | Yes | ||
| mediators | Yes | ||
| confidence | No | ||
| covariates | No | ||
| effect_size | No | ||
| total_effect | No | ||
| save_syntax_file | No | ||
| bootstrap_samples | No | ||
| normal_theory_test | No | ||
| pairwise_contrasts | No | ||
| save_viewer_output | No | ||
| standardized_coefficients | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |