Skip to main content

Copilot Capabilities

WSO2 Integrator Copilot builds integrations from natural language prompts. It produces ready-to-use artifacts in your project. Iterate through follow-up prompts to refine logic, add features, or modify behavior.

WSO2 Integrator Copilot panel open alongside an integration project in the IDE.

Modes

Copilot has two modes: plan and edit. Switch between them using the toggle in the Copilot input bar.

  • Edit Mode: Copilot starts generating immediately and applies the changes to your integration. Best for quick edits.

  • Plan Mode: Copilot first proposes a high-level plan with a step-by-step task breakdown. Review or revise the plan, then approve it to begin generation.

    Plan mode showing a structured step-by-step breakdown of execution tasks.

Generating connectors

Copilot can generate a custom connector when a pre-built one is not available. During integration generation, if no pre-built connector exists, Copilot prompts the user for an OpenAPI specification. The user can also directly request to generate a custom connector. Once generated, the connector is available for Copilot to use in the flow.

Copilot generating custom connector code from an OpenAPI specification.

Using web tools

Copilot can search the internet for external context or up-to-date documentation. It asks for permission before each search unless you enable the web tools toggle in the input bar.

Web tools permission prompt in the Copilot input bar.

MCP tools

Extend Copilot with your own tools by connecting Model Context Protocol (MCP) servers. Once a server is connected, its tools become available to Copilot in chat alongside the built-in tools. See MCP tools to enable it and add a server.

Clarifying requirements

During the planning or generation phase, Copilot may identify missing information that is critical to the integration. If a requirement is ambiguous, it pauses and presents a list of suggested options. Select one, or select Other to type your own answer.

Clarifying requirements prompt showing selection options.

Reviewing

After generation completes, you can inspect exactly what was built or changed before finalizing the changes. Review the generated artifacts as the flow diagram or as source code with a diff view.

Review mode showing the generated integration diagram.

Configuring

When you run or test the integration, Copilot identifies the required configurables and prompts you to enter them.

Configuration collection prompt showing required fields for the integration.

Testing

Copilot generates tests for your integration and runs them with the built-in test runner, allowing you to verify the generated artifacts immediately.

Test runner showing generated tests and results.

Trying your services

Once your integration is running, you can send test requests to your services from Copilot. Describe what you want to test in plain language, and Copilot calls your service and returns the response.

Copilot calling a running service and showing the response.

Debugging

Copilot can run your integrations and read the runtime logs to debug issues as they occur.

Copilot debugging an integration by reproducing the failing request, inspecting the HTTP response and service logs, and identifying a case-sensitivity bug in the team filter.

Project instructions

Add an AGENTS.md file to your project root to give Copilot standing instructions for the workspace, such as preferred libraries, naming and style rules, or error-handling patterns. Copilot reads the file as project context and applies the relevant instructions on every request.

To create or edit the file, open Settings in the Copilot panel and select the file icon on the Agent instructions row under Customize Copilot. If AGENTS.md does not exist yet, selecting the icon creates it from a starter template; otherwise, it opens the existing file for editing.

The Customize Copilot section in Settings with the Agent instructions row.

Skills

Skills are reusable instruction sets for specific tasks. When your request matches a skill, Copilot applies it automatically for consistent results without repeating the same guidance each time.

Copilot organizes skills into three groups:

  • Built-in: Skills shipped with Copilot.
  • Project: Skills saved to your project under .agents/skills.
  • User: Skills available across all your projects.

Manage skills

Open Settings in the Copilot panel and select the Skills row under Customize Copilot. The Skills panel lists each group. Enable or disable individual skills using the controls next to each skill.

note

Some built-in skills are always active and cannot be disabled.

The Skills panel listing built-in, project, and user skills with enable toggles.

Add your own skill

Select Add skill to define a custom skill.

  • Create new: Enter a Name, a Trigger / Description that tells Copilot when to use the skill, and an optional Body with detailed rules and instructions.
  • Import: Upload a .md file (with the skill name and description in YAML front matter) or a .zip or .skill file (containing a SKILL.md).

Choose the Type to control where the skill lives: Project saves it to your project, while User makes it available across all your projects.

The Add skill dialog with the Create new and Import tabs.

How Copilot uses skills

When a skill is enabled and your request matches its trigger, Copilot applies the skill automatically. If a matching skill is disabled, Copilot pauses and asks whether to enable it. Select Enable to turn it on, or Skip to continue without it for that message.

The prompt asking whether to enable a matching skill for the current request.

Chat history

Copilot saves each project's conversation, so it stays available after you reload or restart the IDE. History is tied to the project's location on disk, so it no longer appears if you move, rename, or open the project from a different path.

You can also reset the conversation in two ways:

  • New Chat: Clears the current project's history and starts a fresh conversation.
  • Restore Checkpoint: Rolls your integration back to a saved checkpoint, undoing the changes Copilot made afterward and removing the later prompts.

Slash commands

Type / in the Copilot input bar to invoke a command for a specific task. You can also invoke an enabled skill directly: type / and select the skill from the list, for example /data-map.

CommandDescription
/askAsk questions about Ballerina to be answered based on the documentation.
/docGenerate documentation for your integration.
/openapiImport OpenAPI specifications.
/typecreatorCreate custom types.
/data-mapGenerate data mappings.
/natural-programmingExperimental. Generate code from requirements and check for drift.
note

/ask answers only from the Ballerina documentation and does not use your codebase context. For questions about your code or any other topic, message Copilot directly without a command. /data-map is powered by the built-in data-map skill rather than a command.

See also