tools
get a tool
one tool. the credential is never returned.
GET
/
v1
/
tools
/
{tool_id}
get a tool
curl --request GET \
--url https://silk-api.rumik.ai/v1/tools/{tool_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://silk-api.rumik.ai/v1/tools/{tool_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://silk-api.rumik.ai/v1/tools/{tool_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://silk-api.rumik.ai/v1/tools/{tool_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://silk-api.rumik.ai/v1/tools/{tool_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://silk-api.rumik.ai/v1/tools/{tool_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://silk-api.rumik.ai/v1/tools/{tool_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "019f8e32-4d60-7f71-ac8d-9e0f1a2b3c4d",
"name": "lookup_account",
"description": "looks the caller's account up by phone number",
"kind": "before_call",
"config": {
"action": "get",
"performedAction": "end_call",
"curl": "",
"method": "GET",
"url": "https://api.example.com/v1/accounts",
"headers": [
{
"name": "Accept",
"value": "application/json"
}
],
"params": [
{
"name": "phone",
"value": "{phone_number}"
}
],
"body": "",
"timeoutMs": 3000,
"waitForResponse": true,
"auth": {
"type": "bearer",
"headerName": "X-API-Key",
"username": "",
"hasSecret": true
},
"llmParams": [],
"outputs": [
{
"name": "firstName",
"path": ""
},
{
"name": "plan",
"path": "account.plan"
}
]
},
"isDefault": false,
"createdAt": "2026-09-11T10:00:00Z",
"updatedAt": "2026-09-11T10:00:00Z"
}{
"error": "Invalid API key",
"code": "unauthorized"
}{
"error": "This API key lacks the 'agent' scope",
"code": "forbidden_scope"
}{
"error": "Tool not found",
"code": "agent_tool_not_found"
}{
"error": "Rate limit exceeded",
"code": "rate_limited",
"limit": 100,
"current": 101
}Authorizations
your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.
Path Parameters
the tool's id.
Response
ok.
a tool as stored. the credential is never returned.
the tool's id (default-… for built-ins).
When in a call's life the agent reaches for the tool.
Available options:
before_call, during_call Server-constructed (serialization_alias), see :class:AgentToolAuthView.
Show child attributes
Show child attributes
true for the platform's built-in tools, which cannot be edited or deleted.
⌘I
get a tool
curl --request GET \
--url https://silk-api.rumik.ai/v1/tools/{tool_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://silk-api.rumik.ai/v1/tools/{tool_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://silk-api.rumik.ai/v1/tools/{tool_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://silk-api.rumik.ai/v1/tools/{tool_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://silk-api.rumik.ai/v1/tools/{tool_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://silk-api.rumik.ai/v1/tools/{tool_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://silk-api.rumik.ai/v1/tools/{tool_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "019f8e32-4d60-7f71-ac8d-9e0f1a2b3c4d",
"name": "lookup_account",
"description": "looks the caller's account up by phone number",
"kind": "before_call",
"config": {
"action": "get",
"performedAction": "end_call",
"curl": "",
"method": "GET",
"url": "https://api.example.com/v1/accounts",
"headers": [
{
"name": "Accept",
"value": "application/json"
}
],
"params": [
{
"name": "phone",
"value": "{phone_number}"
}
],
"body": "",
"timeoutMs": 3000,
"waitForResponse": true,
"auth": {
"type": "bearer",
"headerName": "X-API-Key",
"username": "",
"hasSecret": true
},
"llmParams": [],
"outputs": [
{
"name": "firstName",
"path": ""
},
{
"name": "plan",
"path": "account.plan"
}
]
},
"isDefault": false,
"createdAt": "2026-09-11T10:00:00Z",
"updatedAt": "2026-09-11T10:00:00Z"
}{
"error": "Invalid API key",
"code": "unauthorized"
}{
"error": "This API key lacks the 'agent' scope",
"code": "forbidden_scope"
}{
"error": "Tool not found",
"code": "agent_tool_not_found"
}{
"error": "Rate limit exceeded",
"code": "rate_limited",
"limit": 100,
"current": 101
}