Documentation Index
Fetch the complete documentation index at: https://docs.cyberdesk.io/llms.txt
Use this file to discover all available pages before exploring further.
What is Get Main Instructions?
get_main_instructions is a specialized tool that is available only to a focused action agent. It returns the main workflow instructions so the focused agent can recover from an unexpected state and get back to the right place before continuing its focused task.
In prompts, refer to this tool as get_main_instructions exactly.
For broader guidance on when and how to use focused agents, see Focused Action.
What It Returns
The tool returns the main workflow instructions in text form.- Input values like
{patient_id}stay in bracket notation - Sensitive values like
{$password}stay in bracket notation - Runtime values may be shown with their current value when available, for example
{{report_id (currently: 'RPT-123')}}
Why This Tool Exists
Sometimes a focused action lands on an unexpected screen, popup, or branch and needs more context than its local focused prompt provides. In those cases,get_main_instructions can help the focused agent:
- Reread the full workflow instructions
- Understand where it was supposed to be in the larger flow
- Recover back to the correct screen
- Continue the original focused task
When to Use It
Useget_main_instructions mainly when:
- The focused agent hits an unexpected state and needs broader workflow context
- The recovery path depends on understanding earlier or later workflow steps
- You explicitly want the focused agent to have permission to consult the full workflow prompt
How to Prompt for It
The safest pattern is to mention the tool directly inside thefocused_action instructions.
Common Pitfalls
- Do not treat this as a default tool just because it is available
- Do not use it as a substitute for writing a clear
focused_actionprompt - Do not assume it is available to the main agent
- Do not rely on it to reveal plaintext sensitive values; sensitive placeholders remain bracketed
Relationship to Focused Action
get_main_instructions is a supporting tool for focused_action, not a replacement for it.
- Use Focused Action for the main delegation pattern
- Use
get_main_instructionsonly when that focused agent may need broader workflow context to recover from an unexpected situation