get_workspace_context
Retrieves domain-specific context from RUNWHEN.md, including naming patterns, architectural rules, and database access constraints. Use this before authoring tasks to understand environment rules.
Instructions
Get domain-specific context for building RunWhen tasks.
Reads the project's RUNWHEN.md file, which contains infrastructure conventions, database access rules, naming patterns, architectural knowledge, and other constraints that scripts must follow.
The file is auto-discovered by walking up from the current working directory. Override with the RUNWHEN_CONTEXT_FILE env var if needed.
IMPORTANT: Call this BEFORE writing any task or script to understand the target environment's rules and relationships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reload | No | Force re-read from disk (default: False, uses cached version). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |