{"key":"ARCADS_TO_R2","type":"fn","target":"arcadsToR2","auth":"","content":"# WHAT: Poll a finished ArcAds render by arcads_id and re-store its bytes to R2, returning a stable https://miscsubjects.com/img/ link (permanent, not a presigned/expiring S3 url). Waits up to 120s for the render.\n# WHEN_TO_USE: after ARCADS_GENERATE / ARCADS_VIDEO_GENERATE returns an arcads_id, to get the durable asset link for the sheet / a text / an ad.\n# ARGS: $1 = arcads_id, $2 = model label (optional, for the filename).\n# EX: [ARCADS_TO_R2]9a14205f-3683-4231-abc4-bf6228017c0a|gpt-image[/ARCADS_TO_R2]\n[\"$1\",\"$2\"]","updated_at":"2026-07-12 06:21:59","category":"creative","allowed_categories":null,"seq":null,"enabled":1,"planner_visible":1,"planner_rank":20,"input_schema":null,"examples":null,"sensitive":0,"runner":null,"includes":null,"row_num":102,"_rest":{"read":"GET /api/directory/ARCADS_TO_R2","update":"PUT /api/directory/ARCADS_TO_R2","patch":"PATCH /api/directory/ARCADS_TO_R2","delete":"DELETE /api/directory/ARCADS_TO_R2","invoke":"POST /api/dispatch {\"key\":\"ARCADS_TO_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:ARCADS_TO_R2","object_type":"directory-object","representations":{"article":"/a/directory/ARCADS_TO_R2","json":"/api/directory/ARCADS_TO_R2","skill":"/api/directory/ARCADS_TO_R2?format=skill","oip_contract":"/api/dispatch?key=ARCADS_TO_R2"},"ontology":{"parent":"category:creative","siblings":[{"id":"directory:GROK_IMAGE_R2","key":"GROK_IMAGE_R2","relation":"shares_capability_family","article":"/a/directory/GROK_IMAGE_R2","skill":"/api/directory/GROK_IMAGE_R2?format=skill"}]},"law":"This directory definition is also a human article, model Skill, and invocable OIP object under one identity."}}