wmshare_batch
Batch-invoke catalog functions across a symbol list, pass shared params, and return request counts, errors, and 429 resume positions for retrying.
Instructions
批量调用目录函数;支持 params,返回请求数、错误和 429 续跑位置。
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": {
"function": "<function>",
"symbols": "<symbols>"
},
"name": "wmshare_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true 跳过单位规范化,仅诊断用 | |
| units | No | base 保持 SDK 单位守护;native 保留脚本原值 | base |
| market | No | 目标市场 cn/hk/us;缺省用 server 配置市场 | |
| output | No | sample 返回样例;count 只返回计数;summary 返回压缩摘要 | sample |
| params | No | 透传给 batch_iter 的目录函数参数 | |
| symbols | Yes | 同市场标的列表;不要混合 cn/hk/us | |
| function | Yes | 目录函数名;先用 search/contract 确认 | |
| max_rows | No | 单次返回的最大行数,硬上限 200 | |
| batch_size | No | 每批标的数 | |
| on_batch_error | No | 批级错误策略;skip 仍会记录失败批 | skip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||