Generate tool inputs from natural language
Uses AI to translate a natural language description into structured arguments for a specific tool. This endpoint is useful when you want to let users describe what they want to do in plain language instead of providing structured parameters.
Path parameters
tool_slug
The tool slug to generate inputs for
Headers
x-api-key
Request
This endpoint expects an object.
text
Natural language description of what you want to accomplish with this tool
custom_description
Custom description of the tool to help guide the LLM in generating more accurate inputs
system_prompt
System prompt to control and guide the behavior of the LLM when generating inputs
version
Tool version to use when generating inputs (defaults to “latest” if not specified)
Response
Successfully generated structured inputs for the action based on natural language description
arguments
Key-value pairs of arguments required by the tool to accomplish the described task
error
Error message if the arguments could not be generated (null if successful)