List runnable tools
Every switched on tool a run could reach from this conversation, with the JSON Schema its input is checked against.
GET
/conversations/{id}/toolsAuthorization
AuthorizationBearer token · headerrequired`MEDIAN_KEY` from Settings under API, or an MCP OAuth access token. A key acts as the organization; a token acts as the person who approved it.
Path parameters
idstringrequiredA conversation id.
Responses
200The tools, sorted by name.
toolsobject[]Show propertiesHide properties
Array of
objectnamestringdescriptionstringriskstringAllowed:
lowmediumreviewedhighinputSchemastringThe tool's JSON Schema, serialized.
401The bearer token is missing, revoked, or expired.
errorobjectShow propertiesHide properties
codestringmessagestring404Not one of yours, or not there at all.
errorobjectShow propertiesHide properties
codestringmessagestring429Too many requests. Wait the seconds in `Retry-After`. Limits depend on the plan. See [rate limits](/api/errors-and-limits#rate-limits).
errorobjectShow propertiesHide properties
codestringmessagestringRequest
curl -X GET "https://api.median.sh/v1/conversations/string/tools" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.median.sh/v1/conversations/string/tools", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});Response
{
"tools": [
{
"name": "string",
"description": "string",
"risk": "low",
"inputSchema": "string"
}
]
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}