steer
Redirect a running agent mid-task to correct its course. Send a message that applies after the current tool call, avoiding the need to abort.
Instructions
Redirect a running pi agent mid-task. The message lands after its current tool call finishes, before the next model call. Use this instead of aborting when the agent is going the wrong way.
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": {
"sessionId": "<sessionId>",
"message": "<message>"
},
"name": "steer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| sessionId | Yes |