Tool details
| Field | Value |
|---|---|
| Name | set_cache_value |
| Group | Cache |
Playground
Input schema
Input schema
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"key": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^[a-zA-Z0-9_:.\\-/]+$",
"description": "Cache key"
},
"value": {
"type": "string",
"description": "Value to cache"
},
"ttl": {
"type": "number",
"minimum": 0,
"maximum": 86400,
"description": "TTL in seconds (0 = no expiry, default: 300, max: 86400)"
}
},
"required": [
"project_reference",
"key",
"value"
],
"additionalProperties": false,
"description": "Input schema for the set_cache_value tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
Output schema
Output schema
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The key associated with this tool result."
}
},
"required": [
"key"
],
"additionalProperties": false,
"description": "Structured result returned by the set_cache_value tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}