get_rules
Retrieves structured uni-app and WeChat mini-program rules by ID, category, or all, including symptoms, causes, and fixes, so assistants can follow relevant constraints before coding.
Instructions
获取规则详情(含症状、成因、修复方案)。传 ids 精确取,或传 category 取整类,都不传取全量。写代码前先按任务场景取对应类规则遵守。
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": "get_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| category | No |