Reset an agent to default or copy from another agent.
reset_agent(
agent_name: str,
source_agent: str | None = None,
*,
dry_run: bool = False,
output_format: OutputFormat = 'text'
) -> None| Name | Type | Description |
|---|---|---|
agent_name* | str | Name of the agent to reset. |
source_agent | str | None | Default: NoneCopy AGENTS.md from this agent instead of default. |
dry_run | bool | Default: FalseIf |
output_format | OutputFormat | Default: 'text'Output format — |