arcade-mcp/toolkits/freshservice_api/arcade_freshservice_api/wrapper_tools/DeactivateFreshserviceSurvey.json

115 lines
3.2 KiB
JSON

{
"name": "DeactivateFreshserviceSurvey",
"fully_qualified_name": "FreshserviceApi.DeactivateFreshserviceSurvey@1.0.0",
"description": "Deactivate a CSAT survey in Freshservice using its ID.\n\nUse this tool to deactivate a Customer Satisfaction (CSAT) survey in Freshservice by providing the survey's ID. This is helpful when a survey is no longer needed or should not be sent to customers.",
"toolkit": {
"name": "ArcadeFreshserviceApi",
"description": null,
"version": "1.0.0"
},
"input": {
"parameters": [
{
"name": "survey_id",
"required": true,
"description": "The integer ID of the CSAT survey to deactivate in Freshservice.",
"value_schema": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "ID of CSAT survey to deactivate"
},
"inferrable": true,
"http_endpoint_parameter_name": "survey_id"
}
]
},
"output": {
"description": "Response from the API endpoint 'deactivate-survey'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": null,
"secrets": [
{
"key": "FRESHSERVICE_SUBDOMAIN"
},
{
"key": "FRESHSERVICE_API_KEY"
}
],
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the Freshservice API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "https://{freshservice_subdomain}.freshservice.com/api/v2/surveys/{survey_id}/deactivate",
"http_method": "PUT",
"headers": {},
"parameters": [
{
"name": "survey_id",
"tool_parameter_name": "survey_id",
"description": "ID of CSAT survey to deactivate",
"value_schema": {
"val_type": "integer",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "ID of CSAT survey to deactivate"
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "FRESHSERVICE_SUBDOMAIN",
"parameter_name": "freshservice_subdomain",
"accepted_as": "path",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "FRESHSERVICE_API_KEY",
"parameter_name": "username",
"accepted_as": "basic_auth_username",
"formatted_value": null,
"description": "",
"is_auth_token": false
}
],
"request_body_spec": null,
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}