Median

GET /tool-suggestions

Updated Oct 1, 20261 minute read

List tool suggestions

Tools the agent went without, waiting on somebody to build them. The agent files one mid-conversation when a customer needs something it has no way to do, and the reviewer files one after a thread resolves. Each row carries prompt: the whole brief as markdown, written for a coding agent that has never seen Median. Hand it over as it stands.

Part of Tool suggestions.

Responses

StatusDescription
200The queue, newest first.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
suggestionsobject[]No
suggestions[].idstringNo
suggestions[].conversationIdstringNo
suggestions[].conversationSubjectstringNo
suggestions[].titlestringNoSentence case, a few words: "Issue a refund". Never a function name.
suggestions[].summarystringNo
suggestions[].reasonstringNoWhat the customer needed that the agent could not do.
suggestions[].behaviorstringNoWhat the tool should do when called.
suggestions[].whenstringNoWhen the agent should reach for it.
suggestions[].inputsobject[]No
suggestions[].inputs[].namestringNo
suggestions[].inputs[].type"string" | "number" | "boolean" | "enum"No
suggestions[].inputs[].descriptionstringNo
suggestions[].inputs[].requiredbooleanNo
suggestions[].inputs[].optionsstring[]NoEnum inputs only.
suggestions[].risk"low" | "medium" | "reviewed" | "high"No
suggestions[].suggestedAtintegerNo
suggestions[].promptstringNoThe whole brief as markdown: the spec, a median.config.ts snippet, and the wiring notes.

Example request

curl https://api.median.sh/v1/tool-suggestions \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc