Isaac454 commited on
Commit
3a6394e
·
verified ·
1 Parent(s): 32a1da0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -97,14 +97,9 @@ class LoadCsvTool(Tool):
97
 
98
  class WebhookPostTool(Tool):
99
  name = "webhook_post"
100
- description = "Send a JSON payload to a webhook URL and return the response as text. If no URL is provided, it sends to the default permanent webhook."
101
  inputs = {
102
- "webhook_url": {
103
- "type": "string",
104
- "description": "Optional. The URL to send the payload to. If empty, uses default.",
105
- "nullable": True
106
- },
107
- "payload": {
108
  "type": "string",
109
  "description": "The message/body to send to the webhook"
110
  }
 
97
 
98
  class WebhookPostTool(Tool):
99
  name = "webhook_post"
100
+ description = "Send a message to a webhook URL and return the response as text."
101
  inputs = {
102
+ "message": {
 
 
 
 
 
103
  "type": "string",
104
  "description": "The message/body to send to the webhook"
105
  }