x402-path-validator
x402-path-validator: 路径安全校验——拒绝 traversal(..)/NUL/绝对路径逃逸,返回规范化相对路径。文件系统操作前的防护工具。
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": {
"path": "<path>"
},
"name": "x402-path-validator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| path | Yes |