Mid-call Action abrufen
curl --request GET \
--url https://app.famulor.de/api/user/tools/{id} \
--header 'Accept: <accept>' \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'const options = {
method: 'GET',
headers: {
Authorization: '<authorization>',
'Content-Type': '<content-type>',
Accept: '<accept>'
}
};
fetch('https://app.famulor.de/api/user/tools/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.famulor.de/api/user/tools/{id}"
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.famulor.de/api/user/tools/{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 => [
"Accept: <accept>",
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$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://app.famulor.de/api/user/tools/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
}
{
"message": "Tool not found"
}
Mid-call Action abrufen
Rufe eine spezifische Mid-call Action anhand der ID ab
GET
/
api
/
user
/
tools
/
{id}
Mid-call Action abrufen
curl --request GET \
--url https://app.famulor.de/api/user/tools/{id} \
--header 'Accept: <accept>' \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'const options = {
method: 'GET',
headers: {
Authorization: '<authorization>',
'Content-Type': '<content-type>',
Accept: '<accept>'
}
};
fetch('https://app.famulor.de/api/user/tools/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.famulor.de/api/user/tools/{id}"
headers = {
"Authorization": "<authorization>",
"Content-Type": "<content-type>",
"Accept": "<accept>"
}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.famulor.de/api/user/tools/{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 => [
"Accept: <accept>",
"Authorization: <authorization>",
"Content-Type: <content-type>"
],
]);
$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://app.famulor.de/api/user/tools/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
}
{
"message": "Tool not found"
}
Dieser Endpunkt ermöglicht es dir, detaillierte Informationen über eine spezifische Mid-call Action abzurufen.
Header
string
erforderlich
Bearer-Token zur Authentifizierung
string
erforderlich
Muss
application/json seinstring
erforderlich
Muss
application/json seinPfad-Parameter
integer
erforderlich
Die eindeutige Kennung der Mid-call Action
Antwortfelder
integer
Die eindeutige Kennung der Mid-call Action
string
Der Name der Mid-call Action
string
Detaillierte Erklärung, wann und wie die KI diese Mid-call Action verwenden soll
string
Mid-call-Action-Typ:
http oder automationstring
Die API-Endpunkt-URL, die aufgerufen wird
string
HTTP-Methode (GET, POST, PUT, PATCH, DELETE)
string
Request-Body-Kodierung:
json oder forminteger
Request-Timeout in Sekunden (1-30)
array
array
array
string
ISO-8601-Zeitstempel der Erstellung
string
ISO-8601-Zeitstempel der letzten Aktualisierung
{
"id": 1,
"name": "get_weather",
"description": "Use this tool to get the current weather in a specific city. Call this when the customer asks about weather conditions.",
"type": "http",
"endpoint": "https://api.openweathermap.org/data/2.5/weather?city={city}",
"method": "GET",
"body_format": "json",
"timeout": 10,
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer sk_..."
}
],
"static_fields": [],
"schema": [
{
"name": "city",
"type": "string",
"description": "The city name to get weather for",
"required": true
},
{
"name": "days",
"type": "number",
"description": "Number of forecast days",
"required": false
}
],
"created_at": "2025-10-10T12:00:00.000000Z",
"updated_at": "2025-10-10T12:00:00.000000Z"
}
{
"message": "Tool not found"
}
Mid-call Actions Assistenten zuweisen
Um diese Mid-call Action mit einem Assistenten zu verwenden, siehe:- Assistent erstellen — Mid-call Actions mit dem
tool_ids-Parameter zuweisen - Assistent aktualisieren — Mid-call-Action-Zuweisungen mit dem
tool_ids-Parameter verwalten
Statt einzelner HTTP-Aktionen ein ganzes Toolset auf einmal? Externen MCP-Server verbinden — Tools werden automatisch erkannt. Siehe MCP-Server.