TomTom Maps for JavaScript
    Preparing search index...

    Variable getDefaultToolPromptsConst

    getDefaultToolPrompts: () => Record<ToolName, readonly string[]>

    Returns each default tool's examplePrompts keyed by tool name. Builders are materialised with empty ToolBuildOptions so the prompts reflect the tool's default (full-surface) shape. Tools without prompts map to [].

    Surface these in chat UIs to keep starter suggestions in sync with what the tools can actually do — the registry stays the single source of truth.

    Type Declaration

      • (): Record<ToolName, readonly string[]>
      • Returns Record<ToolName, readonly string[]>