Header menu logo Nao

ToolExecutionDef Type

How a tool executes (the mechanism for running the tool)

Union cases

Union case Description

Custom(executor, config)

Full Usage: Custom(executor, config)

Parameters:
    executor : string
    config : Map<string, string>

Use a named executor registered at runtime (for custom protocols: gRPC, MCP, etc.)

executor : string
config : Map<string, string>

Http(url, method, headers)

Full Usage: Http(url, method, headers)

Parameters:
    url : string
    method : string
    headers : Map<string, string>

Call an HTTP endpoint. The input is sent as the request body.

url : string
method : string
headers : Map<string, string>

Process(command, args)

Full Usage: Process(command, args)

Parameters:
    command : string
    args : string list

Execute a program/process. Works with any executable: bash, python, node, .exe, etc.

command : string
args : string list

Instance members

Instance member Description

this.IsCustom

Full Usage: this.IsCustom

Returns: bool
Returns: bool

this.IsHttp

Full Usage: this.IsHttp

Returns: bool
Returns: bool

this.IsProcess

Full Usage: this.IsProcess

Returns: bool
Returns: bool

Type something to start searching.