ProtectedInternalExecutes the Load Agent Spec action.
The action parameters containing:
Action result with complete AgentSpec structure
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Action that loads the complete AgentSpec structure for an existing agent by ID.
This action retrieves the full agent specification including all nested structures: Actions, SubAgents, Prompts, Steps, and Paths. The result is the complete AgentSpec JSON structure suitable for analysis, modification, or display.
Example