Content Tool
content_toolJudge inline text as untrusted to prevent prompt injection, with options to block, flag, or redact based on trentina_mode.
Instructions
Judge inline text through all three layers. It is always untrusted.
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": {
"content": "<content>"
},
"name": "content_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The text to judge | |
| content_type | No | Its media type; text/html is converted to Markdown | text/plain |
| trentina_mode | No | block, flag, or {"redact": "<what you need>"} | |
| trentina_preprocess | No | false for exact text; see the server instructions |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||