Write a security.txt file
generate_security_txtWrite a security.txt file (RFC 9116) from a contact, a review date and optional policy, thanks, encryption and canonical addresses, with what the RFC requires flagged. Send today to have the date checked. Answers from what you send alone: nothing is fetched or stored.
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": {
"contact": "<contact>",
"expires": "<expires>"
},
"name": "generate_security_txt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | Today. To check the review date against. Optional. (YYYY-MM-DD) | |
| policy | No | Disclosure policy page Optional. | |
| contact | Yes | Where to report a vulnerability. An email address or an https:// page with a form. | |
| expires | Yes | Review this file by. At most a year from now: an expired file is ignored. (YYYY-MM-DD) | |
| canonical | No | This file's own address Optional. | |
| languages | No | Languages you read. Codes separated by commas. Optional. | |
| encryption | No | Encryption key. Where your PGP key is published. Optional. | |
| acknowledgments | No | Thanks page Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| toolUrl | Yes |