Interface HostedToolExecutionParams

interface HostedToolExecutionParams {
    app_source?: string;
    appSource?: string;
    arguments: Record<string, unknown>;
    attribution?: WorkloadAttributionInput;
    safe_content_filter?: boolean;
    safeContentFilter?: boolean;
    token_type?: "auto" | "sogni" | "spark";
    tokenType?: "auto" | "sogni" | "spark";
    tool: string;
}

Properties

app_source?: string

Optional source label for this hosted REST request. Defaults to the client appSource when configured.

appSource?: string
arguments: Record<string, unknown>

Exact JSON arguments for the selected tool.

Optional workload attribution overriding this client's defaults.

safe_content_filter?: boolean

Public snake_case safe-content filter state.

safeContentFilter?: boolean
token_type?: "auto" | "sogni" | "spark"

Token type to use for hosted REST billing.

tokenType?: "auto" | "sogni" | "spark"
tool: string

Synchronous hosted composition/planning tool to execute directly.