AzurePromptAgentResource.WithTool
Method
type AzurePromptAgentResource interface { // ... omitted for brevity WithTool(tool FoundryToolResource) AzurePromptAgentResource}Signature
method
WithTool builderAdds a tool to a prompt agent.
WithTool(tool FoundryToolResource) AzurePromptAgentResourceParameters
toolFoundryToolResource The tool resource to attach to this agent.Returns
AzurePromptAgentResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: