DeepSeek Sub-Agent
call_deepseek_sub_agentDelegates heavy text processing or code generation to DeepSeek V4, conserving context tokens. Returns the generated text.
Instructions
Delegates massive text processing, code generation boilerplate, or complex sub-modules to DeepSeek V4 to conserve Sol context tokens. Returns the model's text output.
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": {
"prompt": "<prompt>"
},
"name": "call_deepseek_sub_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | DeepSeek model to use: deepseek-v4-flash (default) or deepseek-v4-pro. | |
| prompt | Yes | The exact coding instruction or context to process. | |
| system | No | Optional system prompt for the sub-agent. | |
| thinking | No | Force thinking mode on/off. Defaults to off (fast, cheap). Only enable for tasks that genuinely need reasoning. | |
| temperature | No | Sampling temperature (0.0-2.0; no effect in thinking mode). | |
| reasoning_effort | No | Reasoning effort (enables thinking mode; omit for fast non-thinking execution). | |
| max_output_tokens | No | Maximum output tokens (default 8192). |