Home / Servers / OpenAI API / create_decision
Create a decision
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Create a decision Use this endpoint to quickly answer classification or scoring questions about some input. You can ask multiple questions in one request. [POST /decisions]
Name on the gateway: openai_api__create_decision · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
model required | string | The model to use. Only gpt-6-luna is supported. |
input required | string | The input to evaluate for every question. Provide a text string or an ordered… |
questions required | array | Ask 1–400 questions about the input. Each question can be a predicate, choice… |
safety_identifier | string | Opaque caller-provided end-user identifier, scoped by the verified org. Match… |
prompt_cache_key | string | Partition prompt cache reuse by caller-provided key. |
prompt_cache_options | object | Options for prompt caching. Supported for gpt-5.6 and later models. By… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "openai_api__create_decision",
"arguments": {
"model": "…",
"input": "…",
"questions": []
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a decision tool with model set to ….