freemodel_run
Run any task on a chosen AI model and platform using stored API keys. Set model, task, and optional parameters for tailored execution.
Instructions
Execute a task using a specific AI model from a specific platform. Uses your stored API keys.
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": {
"platform": "<platform>",
"model": "<model>",
"task": "<task>"
},
"name": "freemodel_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task to execute | |
| model | Yes | Model e.g. "step-3.7-flash" | |
| system | No | System prompt (optional) | |
| platform | Yes | Platform ID: "stepfun","baidu","zhipu","aliyun","silicon","openrouter" etc. | |
| max_tokens | No | Max output tokens. Default varies by platform. Set 4000+ for reasoning models to prevent empty output. | |
| temperature | No | Temperature (default 0.7) | |
| reasoning_effort | No | Reasoning depth for step-3.7-flash. low=faster, high=deeper. |