{ "id": "aps.master.query", "providerId": "aps", "title": "主数据查询", "purpose": "查物料、工序、BOM、工艺路线等主数据", "whenNotToUse": "要查订单用 aps.orders.query;要查排产结果用 aps.schedule.query", "effect": "read", "mode": "sync", "idempotency": "none", "inputSchema": { "type": "object", "properties": { "project": { "type": "string", "description": "项目 id,缺省用当前项目" }, "code": { "type": "string", "description": "物料号 / 订单号等业务编码" }, "limit": { "type": "integer", "description": "返回条数上限,默认 20–50" }, "entity": { "type": "string", "enum": [ "overview", "material", "operation", "bom", "routing", "flex", "mrp", "order" ] }, "text": { "type": "string", "description": "自然语言问法,用于兜底识别实体" } } }, "outputSchema": { "type": "object", "properties": { "entity": { "type": "string" }, "items": { "type": "array" }, "counts": { "type": "object" } } }, "synonyms": [ "主数据", "基础资料", "物料表" ], "errors": [ "invalid_argument", "unavailable", "unknown_result" ], "example": { "utterance": "查一下物料 M-1001 的主数据", "expects": "aps.master.query" }, "note": "由 APS 的 /api/manifest 生成(A5.1);权威来源是 APS 服务本身,这里是人审阅副本" }