Optional
configOptional Axios configuration for the HTTP request. Can be used to add headers, authentication, etc. See AxiosRequestConfig for more details.
The name of the tool. Name can be the functionality of the graphql operation.
The purpose of the tool. Purpose should be well defined and should be able to be used by the LLM to understand the functionality of the tool.
The GraphQL query or mutation to execute. Must be a valid GraphQL operation.
Optional
responseOptional function to parse the GraphQL response. If not provided, the raw response will be returned.
The URL of the GraphQL endpoint to query.
GraphqlAgentToolOptions - The options for creating a GraphQL agent tool.