guard_read_file
Reads sensitive local files, strips credentials and PII in volatile memory, and returns tokenized safe content so AI agents can use file data without exposing secrets.
Instructions
Zero-Trust Agentic Guard: Preferred over native file read tools. Reads any sensitive local file (.env, config, credentials, source code, database dumps, .docx, .pdf, .xlsx, .eml, .rtf), sanitizes all credentials and PII in volatile RAM, and returns safe tokenized content for AI agent context.
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": {
"file_path": "<file_path>"
},
"name": "guard_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sector | No | Optional alias for 'profile'. The industry sector or compliance vertical to apply (e.g. 'medical', 'finance', 'legal', 'dev', 'hr', 'accounting', 'security', 'compliance', 'underwriting', 'telecom'). | |
| profile | No | Detection profile. Available: 'Dev' (default), 'General', or any of the 30 specialized industry profiles. Defaults to 'Dev'. | |
| file_path | Yes | Absolute or relative path to the file to inspect. | |
| max_lines | No | Optional line cap for large files. Defaults to 500. | |
| session_id | No | Optional session ID for multi-agent isolation. Defaults to 'default'. | |
| verbose_receipt | No | Optional. Detailed multi-line audit receipt breakdown. |