给会话发消息
piweb_send_messageSend a prompt to a pi-web coding session to resume work and optionally retrieve the final assistant reply after it completes.
Instructions
向一个已有会话发送提示词(等价于在 pi-web 输入框里发消息),让它继续干活。会话没在运行时 pi-web 会自动把它拉起来。默认发完就返回;wait_seconds>0 时会等这一轮跑完并带回最后的助手回复。注意:这会让对方 agent 真正执行操作(改文件、跑命令),发之前确认会话选对了。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | 要发送的提示词正文 | |
| session | Yes | 会话 id / id 前缀 / 名称 | |
| wait_seconds | No | 等待这一轮结束的秒数,0=不等待(默认),建议 120~300 | |
| streaming_behavior | No | 会话正在流式输出时:steer=插话纠正,followUp=排队等它说完;不传则由 pi-web 决定 |