tools
list tools
the account’s tools (items), the built-in ones (defaults, e.g. end_call) and the context params every tool can template on (contextParams: {phone_number}, {user_id}, {agent_id}, {call_id}).
GET
/
v1
/
tools
list tools
curl --request GET \
--url https://silk-api.rumik.ai/v1/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://silk-api.rumik.ai/v1/tools"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://silk-api.rumik.ai/v1/tools")
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{
"items": [
{
"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"
}
],
"defaults": [
{
"id": "default-end_call",
"name": "end_call",
"description": "ends the call",
"kind": "during_call",
"config": {
"action": "perform",
"performedAction": "end_call",
"curl": "",
"method": "GET",
"url": "",
"headers": [],
"params": [],
"body": "",
"timeoutMs": 3000,
"waitForResponse": true,
"auth": {
"type": "bearer",
"headerName": "X-API-Key",
"username": "",
"hasSecret": true
},
"llmParams": [],
"outputs": []
},
"isDefault": true,
"createdAt": null,
"updatedAt": null
}
],
"contextParams": [
{
"id": "phone_number",
"label": "phone number",
"hint": "the number on the other end of the call"
},
{
"id": "user_id",
"label": "user id",
"hint": "your rumik account id"
},
{
"id": "agent_id",
"label": "agent id",
"hint": "the id of the agent on the call"
},
{
"id": "call_id",
"label": "call id",
"hint": "this call's id: the callId a web call returns, the call_id of a realtime session"
}
],
"count": 1
}{
"error": "Invalid API key",
"code": "unauthorized"
}{
"error": "This API key lacks the 'agent' scope",
"code": "forbidden_scope"
}{
"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.
Response
ok.
the account's tools.
Show child attributes
Show child attributes
the built-in tools every agent may use (end_call, …).
Show child attributes
Show child attributes
the {tokens} every tool receives about the call.
Show child attributes
Show child attributes
⌘I
list tools
curl --request GET \
--url https://silk-api.rumik.ai/v1/tools \
--header 'Authorization: Bearer <token>'import requests
url = "https://silk-api.rumik.ai/v1/tools"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://silk-api.rumik.ai/v1/tools")
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{
"items": [
{
"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"
}
],
"defaults": [
{
"id": "default-end_call",
"name": "end_call",
"description": "ends the call",
"kind": "during_call",
"config": {
"action": "perform",
"performedAction": "end_call",
"curl": "",
"method": "GET",
"url": "",
"headers": [],
"params": [],
"body": "",
"timeoutMs": 3000,
"waitForResponse": true,
"auth": {
"type": "bearer",
"headerName": "X-API-Key",
"username": "",
"hasSecret": true
},
"llmParams": [],
"outputs": []
},
"isDefault": true,
"createdAt": null,
"updatedAt": null
}
],
"contextParams": [
{
"id": "phone_number",
"label": "phone number",
"hint": "the number on the other end of the call"
},
{
"id": "user_id",
"label": "user id",
"hint": "your rumik account id"
},
{
"id": "agent_id",
"label": "agent id",
"hint": "the id of the agent on the call"
},
{
"id": "call_id",
"label": "call id",
"hint": "this call's id: the callId a web call returns, the call_id of a realtime session"
}
],
"count": 1
}{
"error": "Invalid API key",
"code": "unauthorized"
}{
"error": "This API key lacks the 'agent' scope",
"code": "forbidden_scope"
}{
"error": "Rate limit exceeded",
"code": "rate_limited",
"limit": 100,
"current": 101
}