curl --request POST \
--url https://api.your-blindsight.com/api/runtime-security/scan/tool \
--header 'Content-Type: application/json' \
--data '
{
"server": "<string>",
"name": "<string>",
"description": "",
"schema": "<unknown>",
"tool_result": "<string>",
"session_labels": [
"<string>"
],
"source_app": "<string>",
"provider": "<string>",
"model": "<string>",
"metadata": {},
"playground": false
}
'import requests
url = "https://api.your-blindsight.com/api/runtime-security/scan/tool"
payload = {
"server": "<string>",
"name": "<string>",
"description": "",
"schema": "<unknown>",
"tool_result": "<string>",
"session_labels": ["<string>"],
"source_app": "<string>",
"provider": "<string>",
"model": "<string>",
"metadata": {},
"playground": False
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
server: '<string>',
name: '<string>',
description: '',
schema: '<unknown>',
tool_result: '<string>',
session_labels: ['<string>'],
source_app: '<string>',
provider: '<string>',
model: '<string>',
metadata: {},
playground: false
})
};
fetch('https://api.your-blindsight.com/api/runtime-security/scan/tool', 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://api.your-blindsight.com/api/runtime-security/scan/tool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'server' => '<string>',
'name' => '<string>',
'description' => '',
'schema' => '<unknown>',
'tool_result' => '<string>',
'session_labels' => [
'<string>'
],
'source_app' => '<string>',
'provider' => '<string>',
'model' => '<string>',
'metadata' => [
],
'playground' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.your-blindsight.com/api/runtime-security/scan/tool"
payload := strings.NewReader("{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.your-blindsight.com/api/runtime-security/scan/tool")
.header("Content-Type", "application/json")
.body("{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/scan/tool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}"
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"verdict": "<string>",
"reasons": [
{}
],
"registry": {},
"description_scan": {},
"max_severity": 123,
"latency_ms": 123,
"shadowing": {},
"result_scan": {},
"dataflow": {},
"blocked_reason": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scan Tool Endpoint
The live MCP tool verification gate.
Runs the full MCP defense against a tool at discovery / call time:
description scan (with the IOC phrase pack), DB-backed integrity verify
(rug-pull / schema poisoning via trust-on-first-use), cross-server
shadowing, optional tool-result injection scan, and optional dataflow. The
app’s mcp.enforcement mode folds the findings into an allow/flag/block
verdict. Unlike register_mcp_tool (a one-time admin scan), this is meant
to run on every tool the agent is about to trust.
curl --request POST \
--url https://api.your-blindsight.com/api/runtime-security/scan/tool \
--header 'Content-Type: application/json' \
--data '
{
"server": "<string>",
"name": "<string>",
"description": "",
"schema": "<unknown>",
"tool_result": "<string>",
"session_labels": [
"<string>"
],
"source_app": "<string>",
"provider": "<string>",
"model": "<string>",
"metadata": {},
"playground": false
}
'import requests
url = "https://api.your-blindsight.com/api/runtime-security/scan/tool"
payload = {
"server": "<string>",
"name": "<string>",
"description": "",
"schema": "<unknown>",
"tool_result": "<string>",
"session_labels": ["<string>"],
"source_app": "<string>",
"provider": "<string>",
"model": "<string>",
"metadata": {},
"playground": False
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
server: '<string>',
name: '<string>',
description: '',
schema: '<unknown>',
tool_result: '<string>',
session_labels: ['<string>'],
source_app: '<string>',
provider: '<string>',
model: '<string>',
metadata: {},
playground: false
})
};
fetch('https://api.your-blindsight.com/api/runtime-security/scan/tool', 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://api.your-blindsight.com/api/runtime-security/scan/tool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'server' => '<string>',
'name' => '<string>',
'description' => '',
'schema' => '<unknown>',
'tool_result' => '<string>',
'session_labels' => [
'<string>'
],
'source_app' => '<string>',
'provider' => '<string>',
'model' => '<string>',
'metadata' => [
],
'playground' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.your-blindsight.com/api/runtime-security/scan/tool"
payload := strings.NewReader("{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.your-blindsight.com/api/runtime-security/scan/tool")
.header("Content-Type", "application/json")
.body("{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.your-blindsight.com/api/runtime-security/scan/tool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"server\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"\",\n \"schema\": \"<unknown>\",\n \"tool_result\": \"<string>\",\n \"session_labels\": [\n \"<string>\"\n ],\n \"source_app\": \"<string>\",\n \"provider\": \"<string>\",\n \"model\": \"<string>\",\n \"metadata\": {},\n \"playground\": false\n}"
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"verdict": "<string>",
"reasons": [
{}
],
"registry": {},
"description_scan": {},
"max_severity": 123,
"latency_ms": 123,
"shadowing": {},
"result_scan": {},
"dataflow": {},
"blocked_reason": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
Body
MCP server label the tool belongs to.
200Tool name.
200The tool's advertised description.
8192The tool's JSON input schema (for schema-poisoning detection).
A result the tool returned, to scan for injected content.
100000Data labels active in this session (dataflow checks).
6412832128Response
Successful Response

