ONE social:networks
← Receivers

social:networks

social family

mcp

Every social network ONE knows, the formats the publish door can post on it right now (read from the adapter registry at run time), and whether it is live: a network is live only after a real post went out and was read back (Facebook, Instagram and LinkedIn today). For a workspace, whether it has each network connected. When the publisher does not answer, the static catalog comes back with source 'catalog' and says so.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
read_corpus
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/social:networks \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "workspace": <string> }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • workspace string optional Whose connections to show; defaults to the caller's own. The caller is walked to it (read_corpus).

Response

What comes back from the call.

  • ok boolean
  • error string
  • message string
  • source registry | catalog
  • note string
  • workspace string
  • connectionsRead boolean False when the workspace's connections could not be read: `connected` is then unknown, not false.
  • live string[]
  • networks object[]

Traffic

Every call to social:networks, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names social:networks, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

UI 2
  • one.ie/web/src/components/social/networks.ts:2
  • one.ie/web/src/components/social/SocialVariantTabs.tsx:76
API route 1
  • one.ie/web/src/lib/receiver-index.generated.ts:451
CLI 1
  • packages/cli/src/social.ts:303
SDK 1
  • packages/sdk/src/social.ts:28
→
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspace": {
      "description": "Whose connections to show; defaults to the caller's own. The caller is walked to it (read_corpus).",
      "type": "string"
    }
  }
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "enum": [
        "registry",
        "catalog"
      ]
    },
    "note": {
      "type": "string"
    },
    "workspace": {
      "type": "string"
    },
    "connectionsRead": {
      "description": "False when the workspace's connections could not be read: `connected` is then unknown, not false.",
      "type": "boolean"
    },
    "live": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "networks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "login": {
            "type": "string"
          },
          "toolkit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "live": {
            "type": "boolean"
          },
          "connected": {
            "type": "boolean"
          }
        },
        "required": [
          "platform",
          "label",
          "formats",
          "live"
        ]
      }
    }
  },
  "required": [
    "ok"
  ]
}