agents_invoke_agent
Start an agent or workflow by submitting a task, creating a new conversation thread, and returning an invocation ID to track progress and retrieve results.
Instructions
Invoke an agent or workflow with a task and optional context.
Creates a new conversation thread, submits the task, and returns an invocation ID that can be used with agents_get_invocation_status and agents_get_invocation_result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task description or question to send to the agent. | |
| agent_id | Yes | The ID of the agent or workflow to invoke (from agents_list_agents). | |
| file_context | No | Optional additional text or file content to include as context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |