-
Couldn't load subscription status.
- Fork 20
Closed
Labels
Description
Objective
Add JSON schema examples for the tools configuration section, focusing on commonly used tools: github, bash, cache-memory, and agentic-workflows.
Context
Part of discussion #2571 - enhancing the main_workflow_schema.json. This is chunk 3 of 5, covering tool configurations.
Approach
-
Extract github tool examples:
- Simple:
github:(basic) - With toolset:
toolset: [pull_requests, actions, repos](dev-hawk.md) - With allowed functions
- Read-only mode
- Simple:
-
Extract bash tool examples:
mergefest.mdhas extensive bash allowed list (git commands, make commands)- Other workflows with bash restrictions
-
Extract cache-memory examples:
- Simple boolean:
cache-memory: true(audit-workflows.md, copilot-agent-analysis.md) - Object format with key
- Array format for multiple caches
- Simple boolean:
-
Extract agentic-workflows tool examples:
dev-hawk.mdusesagentic-workflows:tool
-
Add timeout property examples for tools
Files to Modify
pkg/parser/schemas/main_workflow_schema.json(tools section)
Example Workflows to Mine
.github/workflows/mergefest.md(extensive bash allowed list).github/workflows/dev-hawk.md(github toolset, agentic-workflows).github/workflows/audit-workflows.md(cache-memory: true).github/workflows/copilot-agent-analysis.md(github, cache-memory)
Acceptance Criteria
-
githubtool has 3-4 examples: simple, toolset, allowed functions, read-only -
bashtool has 2-3 examples showing command restrictions -
cache-memoryhas examples for: boolean, object with key, array format -
agentic-workflowstool has 1-2 examples - Tool timeout property has examples
- All examples are valid and from real workflows
- Schema validates with
make build
Related to [Schema Consistency] 🔍 Schema Consistency Check - Oct 26, 2025: Schema Completeness Analysis #2571
AI generated by Plan Command for discussion #2571
Copilot