Generate a tool

Deprecated
View as Markdown
**This endpoint is deprecated** Generates code for an AI agent tool using a collection and request from the Public API Network. For more information, see [**Tool Generation Demo**](http://postman.com/explore/toolgen) in Postman's Public API Network. ### Important - This endpoint has a rate limit of **300 calls every 3 hours**. This does not accrue Postbot usage. - This endpoint only supports public Postman Collections and requests.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
requestIdstringRequired
The public collection's request ID.
collectionIdstringRequiredformat: "uid"
The Public API Network collection's ID.
configobjectRequired
Information about the request.

Response

Successful Response
dataobject
The generated response data.

Errors

400
Bad Request Error
429
Too Many Requests Error
500
Internal Server Error