{"key":"GROK_IMAGE_R2","type":"fn","target":"grokImageToR2","auth":"","content":"# WHAT: Generate an image with Grok Imagine, re-store it to R2, and return a stable https://miscsubjects.com/img/ link.\n# WHEN_TO_USE: you need an image; prefer this over GROK_IMAGE because it returns a stable URL.\n# ARGS: prompt\n[\"$1\"]","updated_at":"2026-07-15 07:45:21","category":"creative","allowed_categories":null,"seq":0,"enabled":1,"planner_visible":1,"planner_rank":100,"input_schema":null,"examples":null,"sensitive":1,"runner":null,"includes":null,"row_num":2,"_rest":{"read":"GET /api/directory/GROK_IMAGE_R2","update":"PUT /api/directory/GROK_IMAGE_R2","patch":"PATCH /api/directory/GROK_IMAGE_R2","delete":"DELETE /api/directory/GROK_IMAGE_R2","invoke":"POST /api/dispatch {\"key\":\"GROK_IMAGE_R2\",\"body\":\"<args>\"}"},"_schema":{"key":"string · primary key · the invocation name","type":"fn | http | agent | flow","target":"fn: FN_MAP name · http: \"METHOD url\" (e.g. \"GET https://…/$1\") · agent: model id · flow: \"\" (content holds the DSL)","auth":"http only: \"bearer:ENV_VAR\" | \"headers:{...}\" | \"query:k=$ENV\" | \"\"","content":"fn/http: \"# docs\\n<arg template>\" · agent: the system prompt body · flow: the DSL","includes":"agent only: comma-separated prompt_block keys (e.g. BLOCK_VOICE,BLOCK_ROUTING) composed before content at runtime","category":"string tag","allowed_categories":"csv of categories, or \"*\"","seq":"int (sort)","enabled":"1|0","planner_visible":"1|0","planner_rank":"int","input_schema":"optional JSON string","examples":"optional JSON string","row_num":"int · computed · 1-based position in the canonical directory list (stable for a given ordering)"},"_object":{"identity":"directory:GROK_IMAGE_R2","object_type":"directory-object","representations":{"article":"/a/directory/GROK_IMAGE_R2","json":"/api/directory/GROK_IMAGE_R2","skill":"/api/directory/GROK_IMAGE_R2?format=skill","oip_contract":"/api/dispatch?key=GROK_IMAGE_R2"},"ontology":{"parent":"category:creative","siblings":[{"id":"directory:ARCADS_TO_R2","key":"ARCADS_TO_R2","relation":"shares_capability_family","article":"/a/directory/ARCADS_TO_R2","skill":"/api/directory/ARCADS_TO_R2?format=skill"}]},"law":"This directory definition is also a human article, model Skill, and invocable OIP object under one identity."}}