kdeps-components-google_cache_create
v1.1.0kdeps kdeps-component: google_cache_create
set components / shelf workflow
PurposeCreate a Google AI cached content entry through the kdeps API
LLM context: ~97 tokens when loaded (prompt or tool definition)
Where it runs
Part of the components set, used in workflow and agent mode. Ready-made workflow steps (sql, browser, email, git, ocr...) a resource calls by name; in agent mode they are also tools.
- a resource names a component (or the model calls it as a tool)
- the component's own resources runcomponents/google_cache_create
- its output goes back to the caller
Loaded by: kdeps (agent loop), /settings, kdeps validate, kdeps run, kdeps bundle package, kdeps env, kdeps export k8s, kdeps test
In the code: kdeps (agent loop)yaml.(*Parser).ParseWorkflowyaml.(*Parser).loadAssetComponents
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Also installs what it requires, when missing or older: schemas/v1, tools/google_cache_create.
Pin a version with kdeps install components/google_cache_create@<version>.
Contents
component.yaml
apiVersion: kdeps.io/v1
kind: Component
metadata:
name: google_cache_create
description: Create a Google AI cached content entry through the kdeps API
version: "1.1.0"
interface:
inputs:
- name: model
type: string
required: true
description: Gemini model name
- name: content
type: string
required: true
description: Text to cache as a system prompt
- name: ttl
type: string
description: Cache lifetime in seconds with an s suffix (e.g. 3600s). Default 3600s
output: "{{ output('call').body }}"
resources:
- actionId: call
name: Create cache
httpClient:
method: POST
url: http://kdeps.api/apis/tools.kdeps.io/v1/tools/google_cache_create/call
headers:
Content-Type: application/json
failOnError: true
timeout: 60s
data:
model: "{{ get('google_cache_create.model') }}"
content: "{{ get('google_cache_create.content') }}"
ttl: "{{ get('google_cache_create.ttl') }}"
requires:
schemas/v1: ""
tools/google_cache_create: ""
version: 1.1.0
requires:
schemas/v1: ""
tools/google_cache_create: ""
files:
component.yaml: |
apiVersion: kdeps.io/v1
kind: Component
metadata:
name: google_cache_create
description: Create a Google AI cached content entry through the kdeps API
version: "1.1.0"
interface:
inputs:
- name: model
type: string
required: true
description: Gemini model name
- name: content
type: string
required: true
description: Text to cache as a system prompt
- name: ttl
type: string
description: Cache lifetime in seconds with an s suffix (e.g. 3600s). Default 3600s
output: "{{ output('call').body }}"
resources:
- actionId: call
name: Create cache
httpClient:
method: POST
url: http://kdeps.api/apis/tools.kdeps.io/v1/tools/google_cache_create/call
headers:
Content-Type: application/json
failOnError: true
timeout: 60s
data:
model: "{{ get('google_cache_create.model') }}"
content: "{{ get('google_cache_create.content') }}"
ttl: "{{ get('google_cache_create.ttl') }}"
Versions
| Version | Published | Status |
|---|---|---|
| 1.1.0 | 10/24/2026 | active |
| 1.0.1 | 10/21/2026 | active |
| 1.0.0 | 10/20/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.1.0
- Published
- 10/20/2026