json_del
Remove specific JSON values stored in Redis by specifying the key and JSON path. Simplify data management by deleting targeted elements directly.
Instructions
Delete a JSON value from Redis at a given path.
Args: name: The Redis key where the JSON document is stored. path: The JSON path to delete (default: root '$').
Returns: A success message or an error message.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
path | No | $ |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"path": {
"default": "$",
"title": "Path",
"type": "string"
}
},
"required": [
"name"
],
"title": "json_delArguments",
"type": "object"
}