Files
yoi/resources/plugin/legacy/wit/yoi-plugin-tool-v1.wit
Hare 2d195f4058 feat: provide v2 Plugin Component contracts and offline validation
Validate exact Component interfaces and static Tool/DCDL schemas without guest execution. Share canonical archive packing and independent package/artifact verification; build real pure and HTTPS PDK fixtures and retire v1/Service authoring stubs.
2026-10-28 13:31:47 +09:00

13 lines
401 B
Plaintext

package yoi:plugin@1.0.0;
world tool {
import yoi:host/request@1.0.0;
import yoi:host/websocket@1.0.0;
import yoi:host/fs@1.0.0;
/// Execute a manifest-declared Tool. `input-json` is ordinary Tool input JSON
/// and the returned string is ToolOutput JSON accepted by the current
/// Component Model Plugin runtime.
export call: func(tool-name: string, input-json: string) -> string;
}