IDMP OpenAPI エクスプローラスキル(API の仕様や実装内容を調べるツール)。 スキーマパス(APIの構成図)、必須入力項目、生成されたコマンドを確認するときに使用します。スキーマと生成されたコマンドのオプションをすべて試し尽くした後に、初めて生のAPI直叩きへ切り替えてください。
IDMP OpenAPI explorer skill. Use it to inspect schema paths, required inputs, and generated commands; fall back to raw API only after schema and generated commands are exhausted.
最初に ../idmp-shared/SKILL.md をお読みください。
service.resource.method を見つける| 文脈 | 生API、または生成されたコマンドによる書き込み前に解決が必須な理由 |
|---|---|
| 対象操作 | ペイロード(送信するデータ構造)の形を信用する前に、正確な service.resource.method または生API のパスが必要です |
| 所有スコープ | elementId、elementTemplateId、eventId などのパス、クエリのIDは、データ変更前に確定する必要があります |
| 生成コマンドの利用可否 | 生APIへの代替前に、構造化されたコマンドがすでに存在するか判断します |
| 検証対象 | データ書き込みが意図した範囲に実際に合致したかを証明する、その後の読み込みを決定します |
| リスクレベル | 操作がプレビューのみで安全か、それとも実際の --ack-risk(リスク承認フラグ)実行に適するか判断します |
--dry-run(試行実行)でプレビュー、--ack-risk で実行、読み込みで結果を検証するidmp-cli schema または idmp-cli schema search でスキーマパス、リスクレベル、必須フィールドを特定する--dry-run でプレビュー、--ack-risk で実行、読み込みで検証するidmp-cli schema
idmp-cli schema search element
idmp-cli schema element.elements.list
idmp-cli schema attribute.historydata.list
idmp-cli element elements list --params '{"parentId":123}'
idmp-cli attribute historydata list --params '{"elementId":1,"attributeId":2,"current":1,"size":20,"start":1704067200000,"end":1704153600000}'
idmp-cli api GET /api/v1/elements --params '{"parentId":123}'
idmp-cli api POST /api/v1/elements/batch/attributes/data --data '{"elementIds":[123],"attributeNames":["temperature"]}'
idmp-cli api POST /api/v1/elements/batch/attributes/data --ack-risk --dry-run --data '{"elementIds":[123],"attributeNames":["temperature"]}'
schema search が結果を返さない場合:検索用語を広げて、隣接する領域を確認してから生APIを検討するidmp-cli schema ... を使って入力を修正するpanel verify create は時間範囲の本体(from と to)だけを平文の --data で受け取ります。elementId などの所有者パラメータとパネル全体の情報は panel.panels.query / panel.panels.create に属し、panel verify create-post は高度なクエリ用に予約されています--page-all、--page-limit、小さい --page-delay を使用するidmp-cli schema search element でスキーマパスを見つけるidmp-cli schema element.elements.list など特定のスキーマを確認するattribute.historydata.list)を確認するidmp-cli api POST /api/v1/elements/batch/attributes/data --data '{"elementIds":[123],"attributeNames":["temperature"]}' で生APIを呼び出し、安全なプレビューパスと生成されたコマンドの動作が一致することを確認するRead ../idmp-shared/SKILL.md first.
service.resource.method for an IDMP operation.| Context | Why it must be resolved before a raw or generated write |
|---|---|
| Target operation | You need the exact service.resource.method or raw API path before you can trust the payload shape. |
| Owner scope | Path or query IDs such as elementId, elementTemplateId, or eventId must be fixed before mutation. |
| Generated-command availability | Decide whether a structured command already exists before falling back to raw API. |
| Verification target | Decide which follow-up read will prove the write actually matched the intended scope. |
| Risk level | Decide whether the operation is safe for preview only or for a real --ack-risk execution. |
--dry-run, execute with --ack-risk, and verify by reading the result back.idmp-cli schema or idmp-cli schema search to identify the exact schema path, risk level, and required fields.--dry-run, execute with --ack-risk, and verify by reading the result back.idmp-cli schema
idmp-cli schema search element
idmp-cli schema element.elements.list
idmp-cli schema attribute.historydata.list
idmp-cli element elements list --params '{"parentId":123}'
idmp-cli attribute historydata list --params '{"elementId":1,"attributeId":2,"current":1,"size":20,"start":1704067200000,"end":1704153600000}'
idmp-cli api GET /api/v1/elements --params '{"parentId":123}'
idmp-cli api POST /api/v1/elements/batch/attributes/data --data '{"elementIds":[123],"attributeNames":["temperature"]}'
idmp-cli api POST /api/v1/elements/batch/attributes/data --ack-risk --dry-run --data '{"elementIds":[123],"attributeNames":["temperature"]}'
schema search returns no match: broaden the search term, inspect the adjacent domain, and only then consider raw API.idmp-cli schema ... instead of switching immediately to raw API.panel verify create only accepts the time-range body with from and to via plain --data; owner params such as elementId and full panel DTO fields belong on panel.panels.query / panel.panels.create, while panel verify create-post is reserved for the advanced-query DTO.--page-all, --page-limit, and a small --page-delay.idmp-cli schema search element.idmp-cli schema element.elements.list.attribute.historydata.list.idmp-cli api POST /api/v1/elements/batch/attributes/data --data '{"elementIds":[123],"attributeNames":["temperature"]}', then confirm the safe preview path and the generated-command behavior still match.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。