Skip to main content
POST
Generate tool inputs from natural language (DEPRECATED)

Authorizations

x-api-key
string
header
default:your-project-api-key
required

Your Composio project API key. Create or copy it from the Composio dashboard.

Path Parameters

tool_slug
string
required

The tool slug to generate inputs for

Body

application/json
text
string
required

Natural language description of what you want to accomplish with this tool

Example:

"I need to trigger the main workflow in the octocat/Hello-World repository to deploy to production"

custom_description
string

Custom description of the tool to help guide the LLM in generating more accurate inputs

Example:

"This tool triggers GitHub Actions workflows in a repository. It requires the repository name, workflow ID, and optional input parameters."

system_prompt
string

System prompt to control and guide the behavior of the LLM when generating inputs

Example:

"You are an expert assistant that generates precise GitHub Actions workflow parameters. Extract exact repository names, workflow IDs, and input values from user descriptions."

version
string

Tool version to use when generating inputs. Defaults to the pinned version ("00000000_00") when omitted.

Example:

"latest"

Response

Successfully generated structured inputs for the action based on natural language description

arguments
object

Key-value pairs of arguments required by the tool to accomplish the described task

Example:
error
string

Error message if the arguments could not be generated (null if successful)

Example:

"Unable to determine the repository name from the provided description"