app_response
Generate and store responses for app requests using string, list, or table data formats. Ensures proper data structure for seamless app integration.
Instructions
Use this to return a response to the app that has been requested.
Provide only one of string_data, list_data, or table_data.
Args:
string_data: Optional string response
list_data: Optional list of strings response
table_data: Optional table response with columns and rows
Format: {"columns": ["col1", "col2", ...], "rows": [["row1col1", "row1col2", ...], ...]}
Returns:
True if the response was stored successfully, False otherwise
Input Schema
Name | Required | Description | Default |
---|---|---|---|
list_data | No | ||
string_data | No | ||
table_data | No |
Input Schema (JSON Schema)
{
"properties": {
"list_data": {
"default": null,
"items": {
"type": "string"
},
"title": "List Data",
"type": "array"
},
"string_data": {
"default": null,
"title": "String Data",
"type": "string"
},
"table_data": {
"additionalProperties": {
"items": {},
"type": "array"
},
"default": null,
"title": "Table Data",
"type": "object"
}
},
"title": "app_responseArguments",
"type": "object"
}