scan_directory_tool
Scan directories to detect unsafe serialization, malicious patterns, and risky packaging in machine learning model artifacts by aggregating safety reports across all files.
Instructions
Run artifact_safety_report across every file in a directory and aggregate the findings.
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": "scan_directory_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |