adapt_prompt
Add documented host guidance to an existing instruction when switching agent environments, keeping the original task scope unchanged.
Instructions
Add documented host guidance to an already good instruction. Use when changing agent environments; not for expanding task scope.
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>",
"targetAgent": "<targetAgent>"
},
"name": "adapt_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| audience | No | auto | |
| targetAgent | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ir | Yes | ||
| changes | Yes | ||
| context | Yes | ||
| metadata | Yes | ||
| confidence | Yes | ||
| assumptions | Yes | ||
| diagnostics | Yes | ||
| skippedPasses | Yes | ||
| tokenEstimate | Yes | ||
| detectedIntent | Yes | ||
| selectedPasses | Yes | ||
| optimizedPrompt | Yes |