ToolExecutionDef Type
How a tool executes (the mechanism for running the tool)
Union cases
| Union case |
Description
|
|
Use a named executor registered at runtime (for custom protocols: gRPC, MCP, etc.)
|
Full Usage:
Http(url, method, headers)
Parameters:
string
method : string
headers : Map<string, string>
|
Call an HTTP endpoint. The input is sent as the request body.
|
Full Usage:
Process(command, args)
Parameters:
string
args : string list
|
Execute a program/process. Works with any executable: bash, python, node, .exe, etc.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsCustom
Returns: bool
|
|
Full Usage:
this.IsHttp
Returns: bool
|
|
Full Usage:
this.IsProcess
Returns: bool
|
|
Nao