Skip to content

[plan] Add validation documentation to stdio_mcp_tool in included schema #8806

@github-actions

Description

@github-actions

Objective

Add the missing $comment field to stdio_mcp_tool definition in included_file_schema.json to match the documentation in main_workflow_schema.json.

Context

The main schema includes 780 bytes of validation constraint documentation in the stdio_mcp_tool.$comment field that explains:

  • Mutual exclusion between command and container
  • Requirement for either command or container
  • Dependency of network on container
  • Type constraints for stdio/local modes

This documentation is missing from the included schema, creating inconsistent developer experience.

Approach

  1. Open pkg/parser/schemas/main_workflow_schema.json
  2. Copy the $comment field from $defs.stdio_mcp_tool
  3. Open pkg/parser/schemas/included_file_schema.json
  4. Add the same $comment field to $defs.stdio_mcp_tool
  5. Verify JSON formatting is valid

Files to Modify

  • pkg/parser/schemas/included_file_schema.json - Add $comment to stdio_mcp_tool

Acceptance Criteria

AI generated by Plan Command for discussion #8801

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions