ps_send_webhook
Send a webhook notification by filling Periscope template variables in the configured URL and request body, then posting the update to your webhook endpoint.
Instructions
Send a webhook notification with the given variables.
Uses the webhook URL (from environment variable), request_body template, and headers from the Periscope config. Template variables #{date}, #{language}, #{important_items}, #{all_items}, #{result}, #{timestamp}, #{summary} are replaced in the URL and request_body before sending.
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": {
"date": "<date>"
},
"name": "ps_send_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| result | No | success | |
| summary | No | ||
| language | No | zh | |
| all_items | No | ||
| config_path | No | ||
| periscope_path | No | ||
| important_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||