Get tool
Gets a tool.
GET
Gets a tool.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
tool*stringThe tool's ID, such as web_search.
Match
^[a-z][a-z0-9_]{0,62}$OK
application/json- response
description*stringWhat the tool does.
displayName*stringName shown in user interfaces.
inputSchema*stringA JSON Schema for its calls' input, as JSON text, for software that answers a client tool's calls.
kind*stringWho carries out its calls: SERVER, kosem, while the agent waits; CLIENT, a person, or software watching the agent, which the agent waits for the answer of, sent as an answer event.
Value in
"SERVER""CLIENT"name*stringResource name, such as tools/web_search. The last part is the tool's ID, which agents' configs and settings name it by, and the name the model calls it by.
curl -X GET 'https://api.kosem.ai/v1/tools/string'Example Response
{
"description": "string",
"displayName": "string",
"inputSchema": "string",
"kind": "SERVER",
"name": "string"
}