Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Toolkdeps asset

kdeps-tools-google_cache_create

v1.0.0

Create a Google AI server-side cached content entry from a text system prompt. Returns the cache name (e.g. 'cachedContents/xyz123') for use in chat: googleCachedContent. Only available when GOOGLE_API_KEY is set.

Install

A kdeps asset: kdeps installs it on first run and updates it without a new release.

kdeps update tools/google_cache_create

Pin a version with kdeps update tools/google_cache_create@<version>.

Contents

Create a Google AI server-side cached content entry from a text system prompt. Returns the cache name (e.g. 'cachedContents/xyz123') for use in chat: googleCachedContent. Only available when GOOGLE_API_KEY is set.

ParameterTypeDescription
content *stringText to cache as a system prompt (must be >= 32K tokens for caching benefit)
model *stringGemini model name (e.g. 'gemini-2.0-flash')
ttlstringCache TTL as a Go duration string (e.g. '1h', '30m'). Default: '1h'

Versions

VersionPublishedStatus
1.0.010/11/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
10/11/2026

Tags

kdepstool