Skip to content

Conversation

MichalAI21
Copy link
Collaborator

@MichalAI21 MichalAI21 commented Sep 9, 2025

Based on the external tool use PRD
we shall expose external tools in the Maestro API. external tool can be HTTP or MCP. They are both added to the tools list in the maestro run.

type: Literal["object"]
properties: Dict[str, HTTPToolFunctionParamProperties]
required: List[str]
additionalProperties: Optional[bool]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make it snake_case and then serialize it so it aligns with python's conventions?

Role = Literal["user", "assistant"]
RunStatus = Literal["completed", "failed", "in_progress", "requires_action"]
ToolType = Literal["file_search", "web_search"]
ToolType = Literal["file_search", "web_search", "http", "mcp"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we need to update it as each Tool schema has the type on its own



class McpTool(TypedDict, total=False):
type: Required[Literal["mcp"]] = "mcp"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the type is required and there is only one option, is it really necessary to make it required?

@github-actions github-actions bot added the lgtm Looks Good to Me label Sep 9, 2025
@github-actions github-actions bot enabled auto-merge (squash) September 9, 2025 16:12
@github-actions github-actions bot merged commit b288e26 into main Sep 9, 2025
26 checks passed
@github-actions github-actions bot deleted the EXEC-1831-add-external-tool-support branch September 9, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants