Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,14 +97,9 @@ class LoadCsvTool(Tool):
|
|
| 97 |
|
| 98 |
class WebhookPostTool(Tool):
|
| 99 |
name = "webhook_post"
|
| 100 |
-
description = "Send a
|
| 101 |
inputs = {
|
| 102 |
-
"
|
| 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 |
}
|