Interface AgentToolInterface

AgentTool entity interface

Mirrors macs-node-sdk/lib/tools/models/agent-tool.js. Attaches a tool to an agent with optional per-attachment secrets that override the tool's default_environment_secrets.

interface AgentToolInterface {
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    id?: string;
    agent?: string | AgentInterface;
    tool?: string | ToolInterface;
    environment_secrets?: string;
    tags?: string[];
    active?: boolean;
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the entity

agent?: string | AgentInterface

Agent the tool is attached to (may be populated on read)

tool?: string | ToolInterface

Tool being attached (may be populated on read)

environment_secrets?: string

Per-attachment secrets (encrypted server-side)

tags?: string[]
active?: boolean

Whether the entity is active