Mayson Monorepo Documentation
    Preparing search index...

    Interface AgentToolDefinition

    Tool definition for frontend display (without execute function)

    interface AgentToolDefinition {
        name: string;
        label?: string;
        description: string;
        parameters: JSONSchema;
        requiresApproval?: boolean;
        category?: AgentToolCategory;
    }
    Index

    Properties

    name: string

    Tool name (snake_case)

    label?: string

    Human-readable label

    description: string

    Tool description for LLM

    parameters: JSONSchema

    Parameter schema

    requiresApproval?: boolean

    Whether this tool requires user approval before execution (trading tools)

    Tool category for organization