更新租房需求
update_rental_demand按字段级 patch 更新当前租房需求并生成新版本。推荐只传 session_token;如传 demand_id,必须同时传同一需求的 session_token。先读取 basic_catalog,仅提交允许自然语言录入的字段,未知字段会拒绝。可先保存草稿,以返回的 search_ready 和缺失字段为准;默认必填为物业类型、租金预算、地段位置、居室。null 或 clear_fields 表示清空,复合字段局部修改用嵌套对象;整体替换时在 clear_fields 中列出该字段。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_rental_demand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | No | 字段级补丁,例如 location/budget/bedrooms/area/must_have/preferred/exclude/pending/weights/clear_fields | |
| status | No | 状态:active、paused、archived | |
| confirm | No | 是否将新版本同时设为已确认版本 | |
| demand_id | No | 需求 ID | |
| input_text | No | 用户原始修改说明,可选 | |
| mutation_id | No | 本次更新幂等键;宿主重试同一次写入时必须复用 | |
| session_token | No | 匿名会话令牌 | |
| consultation_id | No | 沿用系统咨询 ID。 |