13 lines
401 B
Plaintext
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;
|
|
}
|