| Name | Type | Description |
|---|---|---|
name* | str | The name of the agent. |
model* | str | The model to use for the agent. |
description | Optional[str] | Default: NoneAn optional description of the agent. |
tools | Optional[Union[Sequence[Union[AgentServiceBaseTool, BaseTool, Callable]], ToolNode]] | Default: None |
instructions | Optional[Prompt] | Default: None |
temperature | Optional[float] | Default: None |
top_p | Optional[float] | Default: None |
response_format | Optional[Dict[str, Any]] | Default: None |
trace | bool | Default: False |
Create a prompt-based agent node in Azure AI Foundry.
This method creates a new agent in Azure AI Foundry and returns a
:class:~langchain_azure_ai.agents._v1.prebuilt.declarative.PromptBasedAgentNode
that references it. The node itself does not perform any creation; it
only holds a reference to the existing agent and handles request/response
building.
The tools to use with the agent. This can be a list of BaseTools callables, or tool definitions, or a ToolNode.
The prompt instructions to use for the agent.
The temperature to use for the agent.
The top_p to use for the agent.
The response format to use for the agent.
Whether to enable tracing.