Class HttpPostTool
Makes an HTTP POST request to send data to a URL.
Enables agents to submit data to REST APIs, web services, and other HTTP endpoints that accept POST requests.
public sealed class HttpPostTool : IBuiltInTool, ITool, IToolMetadata, IDisposable
- Inheritance
-
HttpPostTool
- Implements
- Inherited Members
Constructors
- HttpPostTool()
Initializes a new instance with default settings.
- HttpPostTool(HttpToolOptions)
Initializes a new instance with custom options.
- HttpPostTool(HttpClient, HttpToolOptions)
Initializes a new instance with an existing HttpClient.
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.