scan_tool_call
Validates tool call parameters to prevent SSRF, command injection, and path traversal attacks before execution.
Instructions
Validate a tool call before execution (SSRF, command injection, path traversal)
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": {
"tool_name": "<tool_name>",
"params": "<params>"
},
"name": "scan_tool_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | Tool call parameters | |
| tool_name | Yes | Name of the tool being called | |
| session_id | No | Optional session ID |