WithTool
Method
func (AzurePromptAgentResource) WithTool(tool FoundryToolResource) AzurePromptAgentResourceSignature
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().
Applies to
This method applies to the following types: