{"_ai_door":{"see":"https://miscsubjects.com/start","note":"Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."},"key":"WEB_GET","type":"fn","target":"httpFetch","auth":"","content":"# WHAT: GET any URL and return its status + body (first 20000 chars). Arg: the full https URL (slashes and query string preserved). Full request/response logged.  Grok also has native web_search for open-ended search; use WEB_GET when you know the exact URL\n# WHEN_TO_USE: read any web page or public API — \"look around the internet\", check a doc, hit a third-party endpoint\n# ARGS: $1\n# EX: [WEB_GET]arg1[/WEB_GET]\n[\"GET\",\"$1+\",\"\",\"\"]","updated_at":"2026-09-06T13:00:54.215Z","category":"web","allowed_categories":null,"seq":null,"enabled":1,"planner_visible":1,"planner_rank":40,"input_schema":"{\"type\":\"object\",\"properties\":{\"arg1\":{\"type\":\"string\",\"description\":\"positional argument 1 (pipe position 1)\"}},\"required\":[\"arg1\"],\"x-arg-order\":[\"arg1\"],\"description\":\"Arguments are joined with | in the order given by x-arg-order.\"}","examples":"[\"https://example.com\"]","sensitive":0,"runner":"edge","includes":null,"created_at":"2026-06-11T14:43:39.056Z","price_usd":null,"meter_unit":null,"object_kind":"capability","descriptor_json":null,"descriptor_rev":1,"descriptor_hash":null,"invocation":"{\"method\":\"GET\",\"url\":\"https://example.com\",\"headers\":{\"User-Agent\":\"miscsubjects-build\"}}","last_status":"{\"http\":200,\"ok\":true,\"ms\":989,\"trace_id\":\"t_0odr2z7s\",\"ledger\":\"/admin/ledger?trace_id=t_0odr2z7s\",\"error\":null,\"at\":\"2026-09-06T13:00:54.656Z\",\"actor\":\"directory-test\"}","last_response":"HTTP 200:<!doctype html><html lang=\"en\"><head><title>Example Domain</title><link rel=\"icon\" href=\"data:,\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><style>body{background:#eee;width:60vw;margin:15vh auto;font-family:system-ui,sans-serif}h1{font-size:1.5em}div{opacity:0.8}a:link,a:visited{color:#348}</style></head><body><div><h1>Example Domain</h1><p>This domain is for use in documentation examples without needing permission. Avoid use in operations.</p><p><a href=\"https://iana.org/domains/example\">Learn more</a></p></div></body></html>\n","test_state":"🟢 works","tested_at":"2026-09-06T13:00:54.656Z","invocation_curl":"curl -sS -X GET 'https://example.com' -H 'User-Agent: miscsubjects-build'","execution":null,"connection_id":null,"aliases":null,"effects":"[\"read\"]","visibility":null,"origin":null,"returns":null,"context":null,"row_num":1415,"_rest":{"read":"GET /api/directory/WEB_GET","update":"PUT /api/directory/WEB_GET","patch":"PATCH /api/directory/WEB_GET","delete":"DELETE /api/directory/WEB_GET","invoke":"POST /api/dispatch {\"key\":\"WEB_GET\",\"body\":\"<args>\"}","model_call":"POST /api/invoke {\"key\":\"WEB_GET\",\"input\":\"<message>\"}  ·  batch: {\"key\":\"WEB_GET\",\"inputs\":[\"a\",\"b\",\"c\"]}","lab":"/admin/prompts/WEB_GET"},"_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","object_kind":"optional canonical object kind (page, route, prompt, model, sheet, source, law, skill, store, external, capability)","descriptor_json":"canonical miscsubjects/environment-object/1 JSON: identity, exact operations, relationships, governance, comparables, representations","descriptor_rev":"monotonic descriptor revision; incremented whenever descriptor_json changes","descriptor_hash":"sha256 of canonical descriptor JSON","invocation":"the raw REST JSON that invokes this row: {method,url,headers,body} with the credential left as INJECTED_BY_WORKER; written by POST /api/directory/<key>/test","invocation_curl":"the same request as a curl that runs when pasted into the owner's terminal: credential written as the vault variable for its host ($XAI_API_KEY, $TERMINAL_KEY)","last_status":"transport record of the last test: {http, ok, ms, trace_id, ledger, error, at} — or {skipped, reason}","last_response":"the full payload the last test returned (up to 60k chars)","test_state":"🟢 works | 🔴 broken | 🟡 untested — decided only by POST /api/directory/<key>/test, never by hand","tested_at":"when test_state was decided","row_num":"int · computed · 1-based position in the canonical directory list (stable for a given ordering)"},"_object":{"identity":"directory:WEB_GET","object_type":"directory-object","representations":{"article":"/a/directory/WEB_GET","json":"/api/directory/WEB_GET","skill":"/api/directory/WEB_GET?format=skill","oip_contract":"/api/dispatch?key=WEB_GET"},"ontology":{"parent":"category:web","siblings":[{"id":"directory:WIKIPEDIA_SUMMARY","key":"WIKIPEDIA_SUMMARY","relation":"shares_capability_family","article":"/a/directory/WIKIPEDIA_SUMMARY","skill":"/api/directory/WIKIPEDIA_SUMMARY?format=skill"},{"id":"directory:WEB_FETCH","key":"WEB_FETCH","relation":"shares_capability_family","article":"/a/directory/WEB_FETCH","skill":"/api/directory/WEB_FETCH?format=skill"}]},"law":"This directory definition is also a human article, model Skill, and invocable OIP object under one identity."},"_environment":{"ref":"directory://web_get","descriptor_rev":1,"descriptor_hash":null,"describe":"/api/environment/objects?ref=directory%3A%2F%2Fweb_get","governance":"/api/environment/governance?ref=directory%3A%2F%2Fweb_get","comparables":"/api/environment/comparables?ref=directory%3A%2F%2Fweb_get","manual":"/api/environment?format=markdown","edit_descriptor":"PATCH /api/directory/WEB_GET {\"descriptor_json\":{...},\"expected_descriptor_rev\":1}"}}