scan_tool
Scans API tool definitions for security risks such as SSRF, data exfiltration, and privilege escalation before an AI agent is allowed to use them.
Instructions
Scan an API tool definition for security risks before allowing an AI agent to use it. Checks for SSRF, data exfiltration, privilege escalation, etc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"endpoint_url": "<endpoint_url>"
},
"name": "scan_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Tool name (e.g., 'send_email') | |
| method | No | HTTP method (GET, POST, PUT, DELETE) | GET |
| headers | No | Headers the tool sends | |
| parameters | No | JSON schema of tool parameters | |
| description | No | Human-readable description of the tool | |
| endpoint_url | Yes | The API endpoint URL this tool calls |