Labsco
microsoft logo

lookup-schema

✓ Official345

by microsoft · part of microsoft/skills-for-copilot-studio

Look up Copilot Studio YAML schema definitions. Use when the user asks about schema structure, element properties, or how to use a specific YAML kind.

🔌 This skill ships inside the copilot-studio plugin — install the plugin and you also get 4 sub-agents, hooks.

This is the playbook your agent receives when the skill activates — you don't need to read it to use the skill, but it's here to audit before installing.

Lookup Schema Definition

Look up and explain a Copilot Studio YAML schema definition.

Instructions

  1. Run the schema lookup script to find the definition:

    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js lookup $ARGUMENTS
  2. If the definition is not found, search for similar definitions:

    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js search $ARGUMENTS
  3. If the definition contains $ref references that need resolution, use:

    node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js resolve $ARGUMENTS
  4. Present the schema definition in a readable format, explaining:

    • What the element does (from the description)
    • Required properties
    • Optional properties and their types
    • Any related definitions that might be useful

Example

User: /lookup-schema SendActivity

Response should include the full schema definition and explain how to use it in YAML.