iii-http-invoked-functions

Originally fromiii-hq/skills
Installation
SKILL.md

HTTP-Invoked Functions

Use this pattern when iii should call external HTTP endpoints as functions.

Pattern selection rules

  • If the task says "register HTTP endpoints with registerFunction", use this pattern.
  • If the task asks for an endpoint list/map (for example { path, id }) and a loop over registerFunction, use this pattern.
  • If the system being adapted cannot be modified, use this pattern.
  • If the goal is exposing inbound routes that iii owns, use registerTrigger({ type: 'http' }) instead.

Core model

  • registerFunction(id, HttpInvocationConfig, options?) registers an outbound HTTP-invoked function.
  • trigger({ function_id, payload }) invokes it like any other function.
  • Trigger payload becomes request body for JSON-based calls.
  • Non-2xx and network failures are treated as invocation failures.

Common shape

Related skills
Installs
45
Repository
iii-hq/iii
GitHub Stars
15.6K
First Seen
Apr 6, 2026