@honua/sdk-js
    Preparing search index...

    Module agent-tools

    Agent-facing tool schemas and executors for bounded map/runtime actions.

    The executor is intentionally runtime-agnostic: apps can adapt a HonuaController, generated-app runtime, MapPackage runtime, or test double to the small HonuaAgentRuntime interface. Tool definitions are plain JSON Schema-compatible objects so they can be reused by MCP, provider-native function calling, or local policy engines.

    This entrypoint is part of the SDK's stable tier: symbols reachable from @honua/sdk-js/agent-tools are covered by the semver contract (see docs/decisions/agent-surface-stabilization.md).

    Classes

    HonuaAgentToolError

    Interfaces

    AddLayerArgs
    AddWidgetArgs
    BindInteractionArgs
    ExplainCapabilityGapArgs
    HonuaAgentAuditEvent
    HonuaAgentContextOptions
    HonuaAgentJsonSchema
    HonuaAgentLayerStyle
    HonuaAgentLayerSummary
    HonuaAgentMapSnapshot
    HonuaAgentRuntime
    HonuaAgentSelectionSummary
    HonuaAgentSemanticMapContext
    HonuaAgentSourceSummary
    HonuaAgentToolDefinition
    HonuaAgentToolDefinitionLike
    HonuaAgentToolDegradedReason
    HonuaAgentToolExecutorOptions
    HonuaAgentToolResult
    HonuaAgentViewport
    HonuaAgentWidgetQueryRequest
    HonuaAgentWidgetQueryResult
    HonuaAgentWidgetSpec
    HonuaAiMapKit
    HonuaAiMapKitOptions
    HonuaAiMapKitPolicy
    HonuaControllerLike
    HonuaGeneratedAppRuntimeLikeForAgents
    HonuaMcpCompatibleToolDefinition
    HonuaOpenAiToolDefinition
    InspectMapArgs
    ListCapabilitiesArgs
    ListSourcesArgs
    RemoveInteractionArgs
    RemoveWidgetArgs
    RunWidgetQueryArgs
    SelectFeatureArgs
    SetFilterArgs
    SetLayerStyleArgs
    SetViewportArgs
    SetVisibilityArgs
    SummarizeSelectionArgs

    Type Aliases

    HonuaAgentProviderToolFormat
    HonuaAgentToolCall
    HonuaAgentToolMode
    HonuaAgentToolName
    HonuaAgentToolStatus
    HonuaProviderToolDefinition

    Variables

    HONUA_AGENT_TOOL_DEFINITIONS
    HONUA_AGENT_TOOL_NAMES

    Functions

    adaptHonuaControllerToAgentRuntime
    adaptHonuaGeneratedAppRuntimeToAgentRuntime
    convertHonuaAgentToolDefinitions
    createHonuaAgentMapContext
    createHonuaAgentSystemPrompt
    createHonuaAgentToolExecutor
    createHonuaAiMapKit
    executeHonuaAgentTool
    explainHonuaCapabilityGap
    getHonuaAgentToolDefinition
    normalizeAiMapKitPolicy
    toHonuaMcpToolDefinitions
    toHonuaOpenAiToolDefinitions