让模型给会话起名
piweb_auto_name_sessionGenerates a session title from its conversation and saves it, matching Pi Web's sidebar auto-naming. Use it to automatically name sessions instead of choosing titles manually.
Instructions
调用 pi 的标题生成,让模型根据对话内容给会话起一个名字并落盘(等价于侧边栏的自动命名)。要花一次模型调用。
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": {
"session": "<session>"
},
"name": "piweb_auto_name_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes | 会话 id / 名称 |