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

NameTypeDescription
model requiredstringThe model to use. Only gpt-6-luna is supported.
input requiredstringThe input to evaluate for every question. Provide a text string or an ordered…
questions requiredarrayAsk 1–400 questions about the input. Each question can be a predicate, choice…
safety_identifierstringOpaque caller-provided end-user identifier, scoped by the verified org. Match…
prompt_cache_keystringPartition prompt cache reuse by caller-provided key.
prompt_cache_optionsobjectOptions 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:

call_tool arguments
{
  "name": "openai_api__create_decision",
  "arguments": {
    "model": "…",
    "input": "…",
    "questions": []
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
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 ….

More from OpenAI API