Documentation Index
Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
Server path: /redis | Type: Application | PCID required: Yes
| Tool | Description |
|---|
redis_set | Set a key-value pair in Redis |
redis_get | Get value by key from Redis |
redis_delete | Delete a key from Redis |
redis_exists | Check if a key exists in Redis |
redis_keys | Get keys matching a pattern |
redis_hset | Set field in Redis hash |
redis_hget | Get field from Redis hash |
redis_lpush | Push element to Redis list |
redis_lrange | Get range from Redis list |
redis_set
Set a key-value pair in Redis
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Redis key |
value | string | Yes | — | Value to store |
ttl | number | No | — | Time to live in seconds |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Redis key"
},
"value": {
"type": "string",
"description": "Value to store"
},
"ttl": {
"type": "number",
"description": "Time to live in seconds"
}
},
"required": [
"PCID",
"key",
"value"
]
}
redis_get
Get value by key from Redis
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Redis key to retrieve |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Redis key to retrieve"
}
},
"required": [
"PCID",
"key"
]
}
redis_delete
Delete a key from Redis
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Redis key to delete |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Redis key to delete"
}
},
"required": [
"PCID",
"key"
]
}
redis_exists
Check if a key exists in Redis
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Redis key to check |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Redis key to check"
}
},
"required": [
"PCID",
"key"
]
}
redis_keys
Get keys matching a pattern
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
pattern | string | No | "*" | Key pattern to match |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"pattern": {
"type": "string",
"default": "*",
"description": "Key pattern to match"
}
},
"required": [
"PCID"
]
}
redis_hset
Set field in Redis hash
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Hash key |
field | string | Yes | — | Field name |
value | string | Yes | — | Field value |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Hash key"
},
"field": {
"type": "string",
"description": "Field name"
},
"value": {
"type": "string",
"description": "Field value"
}
},
"required": [
"PCID",
"key",
"field",
"value"
]
}
redis_hget
Get field from Redis hash
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | Hash key |
field | string | Yes | — | Field name |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "Hash key"
},
"field": {
"type": "string",
"description": "Field name"
}
},
"required": [
"PCID",
"key",
"field"
]
}
redis_lpush
Push element to Redis list
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | List key |
value | string | Yes | — | Value to push |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "List key"
},
"value": {
"type": "string",
"description": "Value to push"
}
},
"required": [
"PCID",
"key",
"value"
]
}
redis_lrange
Get range from Redis list
Parameters:
| Parameter | Type | Required | Default | Description |
|---|
key | string | Yes | — | List key |
start | number | No | 0 | Start index |
stop | number | No | -1 | Stop index |
{
"type": "object",
"properties": {
"PCID": {
"type": "string",
"description": "Pink Connect ID"
},
"key": {
"type": "string",
"description": "List key"
},
"start": {
"type": "number",
"default": 0,
"description": "Start index"
},
"stop": {
"type": "number",
"default": -1,
"description": "Stop index"
}
},
"required": [
"PCID",
"key"
]
}