12 lines
356 B
Plaintext
12 lines
356 B
Plaintext
package yoi:plugin@1.0.0;
|
|
|
|
world tool {
|
|
import yoi:host/https@1.0.0;
|
|
import yoi:host/fs@1.0.0;
|
|
|
|
/// Execute a manifest-declared Tool. `input-json` is the normal Tool input
|
|
/// JSON and the returned string is the same ToolOutput JSON accepted by the
|
|
/// legacy raw-Wasm ABI.
|
|
export call: func(tool-name: string, input-json: string) -> string;
|
|
}
|