Skip to content

feat: MCP Tool Wrapper #81

@cameron-chen

Description

@cameron-chen

Describe the feature

Introduce a wrapper utility, similar to ToolEnvWrapper, that standardizes and unifies MCP tool execution. This wrapper should provide:

  • A consistent interface for invoking MCP tools.
  • Integrated access to tool-specific instructions.
  • Centralized handling of tool schemas to ensure compatibility and discoverability.

Planned API:

  • get_tool_instructions: return the unified tool instructions.
  • get_tool_schema: Returns the tool schema in a standardized format, compatible with API-based LLM engines (e.g., OpenAI, Anthropic).

Why do you need this feature?

This feature brings follows benefits:

  • Simplifies integration with different MCP tools.
  • Reduces duplication by consolidating instructions and schemas in one place.
  • Improves interoperability with external LLM providers.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions