GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — SkillRegistry | ADK for TypeScript: API Reference - v2.5.0

  • SkillRegistry

Interface SkillRegistry

Interface for a skill registry.

interface SkillRegistry {
    close?(): Promise<void>;
    getSkill(name: string): Promise<Skill>;
    searchSkills(query: string): Promise<Frontmatter[]>;
    searchToolDescription?(): string | undefined;
}

Implemented by

  • GCPSkillRegistry
  • Defined in core/src/skills/skill_registry.ts:12

Methods

Optionalclose

  • close?(): Promise<void>

    Releases resources held by the registry, such as network clients or temporary credentials.

    Optional: registries that hold no resources may omit it. SkillToolset invokes it, when present, from its own close().

    Returns Promise<void>

    • Defined in core/src/skills/skill_registry.ts:41

getSkill

  • getSkill(name: string): Promise<Skill>

    Fetches a skill from the registry.

    Parameters

    • name: string

      The name of the skill.

    Returns Promise<Skill>

    A Promise resolving to a Skill object.

    • Defined in core/src/skills/skill_registry.ts:19

searchSkills

  • searchSkills(query: string): Promise<Frontmatter[]>

    Searches for skills in the registry.

    Parameters

    • query: string

      The search query.

    Returns Promise<Frontmatter[]>

    A Promise resolving to a list of Frontmatter objects for discovery.

    • Defined in core/src/skills/skill_registry.ts:27

OptionalsearchToolDescription

  • searchToolDescription?(): string | undefined

    Returns the description for the search_skills tool.

    Returns string | undefined

    • Defined in core/src/skills/skill_registry.ts:32
Methods
closegetSkillsearchSkillssearchToolDescription
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.