AGENT SKILL

openapi-adapter

External-adapter sub-skill; turns an OpenAPI operation into a sealed tool result.

License 许可
MIT
所属仓库
ZachDreamZ/runx
最近更新
2026-07-17
Stars
★ 0
Forks
0

01 前言 Front Matter

name
openapi-adapter
inputs
{ "petId": { "type": "string", "required": false, "description": "Path parameter for the getPet operation." }, "fields": { "type": "string", "required": false, "description": "Optional query parameter." }, "operation_id": { "type": "string", "required": true, "description": "The OpenAPI operationId to invoke." } }
source
{ "type": "external-adapter", "external_adapter": { "manifest_path": "manifest.json" } }
description
External-adapter sub-skill; turns an OpenAPI operation into a sealed tool result.

02 资源文件 3

03 SKILL.md 正文

An OpenAPI front, expressed as an external adapter. The adapter reads a checked-in OpenAPI spec (openapi.json), resolves the requested operation, validates parameters against the spec, performs the adapter-owned HTTP call, and seals the response. The network leg lives on the adapter, the supervised side of the boundary; when the endpoint is unreachable (the bare harness, no fixture server) it falls back to the resolved request so the example still runs offline. This proves the governed core runs from an external spec, not only from MCP: the same external-adapter lane carries any protocol.

examples/openapi-graph/run.sh starts a local fixture endpoint and shows the real response sealed into the receipt. external-adapter is a graph-step front, not a top-level runner.

04 同仓库更多 Skills