{
  "about": "Real requests and responses from node test-demo-server.mjs against the demo server (protocol 2026-07-28, clock fixed at 2026-11-27T10:00:00Z). The server is a simulation: nothing is published.",
  "steps": [
    {
      "step": "discover",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "server/discover",
        "params": {
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 1,
        "result": {
          "resultType": "complete",
          "supportedVersions": [
            "2026-07-28"
          ],
          "capabilities": {
            "tools": {}
          },
          "ttlMs": 3600000,
          "cacheScope": "public",
          "instructions": "Demo server for testing only. It simulates scheduling and never publishes anything.",
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "tools/list",
      "request": {
        "jsonrpc": "2.0",
        "id": 2,
        "method": "tools/list",
        "params": {
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 2,
        "result": {
          "resultType": "complete",
          "tools": [
            {
              "name": "list_accounts",
              "title": "List accounts",
              "description": "List the demo accounts this server can post to, with their network and handle.",
              "inputSchema": {
                "type": "object",
                "properties": {},
                "additionalProperties": false
              },
              "annotations": {
                "readOnlyHint": true,
                "openWorldHint": false
              }
            },
            {
              "name": "validate_post",
              "title": "Validate a post",
              "description": "Check a post against the server's rules for each account without scheduling or publishing it.",
              "inputSchema": {
                "type": "object",
                "properties": {
                  "account_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 1,
                    "description": "Account ids from list_accounts"
                  },
                  "text": {
                    "type": "string"
                  },
                  "scheduled_at": {
                    "type": "string",
                    "description": "ISO 8601 with time zone offset, optional"
                  }
                },
                "required": [
                  "account_ids",
                  "text"
                ],
                "additionalProperties": false
              },
              "annotations": {
                "readOnlyHint": true,
                "openWorldHint": false
              }
            },
            {
              "name": "schedule_post",
              "title": "Schedule a post",
              "description": "Schedule a post for a future time on one or more accounts. Repeating a call with the same idempotency_key returns the same post instead of creating a new one.",
              "inputSchema": {
                "type": "object",
                "properties": {
                  "account_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 1,
                    "description": "Account ids from list_accounts"
                  },
                  "text": {
                    "type": "string"
                  },
                  "scheduled_at": {
                    "type": "string",
                    "description": "ISO 8601 with time zone offset, in the future"
                  },
                  "idempotency_key": {
                    "type": "string",
                    "minLength": 8
                  }
                },
                "required": [
                  "account_ids",
                  "text",
                  "scheduled_at",
                  "idempotency_key"
                ],
                "additionalProperties": false
              },
              "annotations": {
                "readOnlyHint": false,
                "destructiveHint": false,
                "idempotentHint": true,
                "openWorldHint": false
              }
            },
            {
              "name": "get_post_status",
              "title": "Get post status",
              "description": "Return the status of a post on each account: scheduled, cancelled or sent (simulated).",
              "inputSchema": {
                "type": "object",
                "properties": {
                  "post_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "post_id"
                ],
                "additionalProperties": false
              },
              "annotations": {
                "readOnlyHint": true,
                "openWorldHint": false
              }
            },
            {
              "name": "cancel_scheduled_post",
              "title": "Cancel a scheduled post",
              "description": "Cancel a scheduled post before its time. Posts already sent cannot be cancelled.",
              "inputSchema": {
                "type": "object",
                "properties": {
                  "post_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "post_id"
                ],
                "additionalProperties": false
              },
              "annotations": {
                "readOnlyHint": false,
                "destructiveHint": true,
                "idempotentHint": true,
                "openWorldHint": false
              }
            }
          ],
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "list_accounts",
      "request": {
        "jsonrpc": "2.0",
        "id": 3,
        "method": "tools/call",
        "params": {
          "name": "list_accounts",
          "arguments": {},
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 3,
        "result": {
          "resultType": "complete",
          "content": [
            {
              "type": "text",
              "text": "{\n  \"accounts\": [\n    {\n      \"id\": \"demo-bluesky\",\n      \"network\": \"bluesky\",\n      \"handle\": \"@demo.example\"\n    },\n    {\n      \"id\": \"demo-linkedin\",\n      \"network\": \"linkedin\",\n      \"handle\": \"Demo Member\"\n    },\n    {\n      \"id\": \"demo-threads\",\n      \"network\": \"threads\",\n      \"handle\": \"@demo_threads\"\n    }\n  ],\n  \"simulated\": true\n}"
            }
          ],
          "structuredContent": {
            "accounts": [
              {
                "id": "demo-bluesky",
                "network": "bluesky",
                "handle": "@demo.example"
              },
              {
                "id": "demo-linkedin",
                "network": "linkedin",
                "handle": "Demo Member"
              },
              {
                "id": "demo-threads",
                "network": "threads",
                "handle": "@demo_threads"
              }
            ],
            "simulated": true
          },
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "validate_post",
      "request": {
        "jsonrpc": "2.0",
        "id": 5,
        "method": "tools/call",
        "params": {
          "name": "validate_post",
          "arguments": {
            "account_ids": [
              "demo-bluesky",
              "demo-linkedin"
            ],
            "text": "Our December changelog is live: scheduled posts now show their time zone.",
            "scheduled_at": "2026-12-01T09:00:00+01:00"
          },
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 5,
        "result": {
          "resultType": "complete",
          "content": [
            {
              "type": "text",
              "text": "{\n  \"valid\": true,\n  \"errors\": [],\n  \"accounts\": [\n    {\n      \"account_id\": \"demo-bluesky\",\n      \"network\": \"bluesky\",\n      \"ok\": true,\n      \"problems\": []\n    },\n    {\n      \"account_id\": \"demo-linkedin\",\n      \"network\": \"linkedin\",\n      \"ok\": true,\n      \"problems\": []\n    }\n  ],\n  \"simulated\": true\n}"
            }
          ],
          "structuredContent": {
            "valid": true,
            "errors": [],
            "accounts": [
              {
                "account_id": "demo-bluesky",
                "network": "bluesky",
                "ok": true,
                "problems": []
              },
              {
                "account_id": "demo-linkedin",
                "network": "linkedin",
                "ok": true,
                "problems": []
              }
            ],
            "simulated": true
          },
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "schedule_post",
      "request": {
        "jsonrpc": "2.0",
        "id": 6,
        "method": "tools/call",
        "params": {
          "name": "schedule_post",
          "arguments": {
            "account_ids": [
              "demo-bluesky",
              "demo-linkedin"
            ],
            "text": "Our December changelog is live: scheduled posts now show their time zone.",
            "scheduled_at": "2026-12-01T09:00:00+01:00",
            "idempotency_key": "launch-2026-12-01-changelog"
          },
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 6,
        "result": {
          "resultType": "complete",
          "content": [
            {
              "type": "text",
              "text": "{\n  \"post_id\": \"demo_83e59d481383\",\n  \"status\": \"scheduled\",\n  \"scheduled_at\": \"2026-12-01T09:00:00+01:00\",\n  \"accounts\": [\n    {\n      \"account_id\": \"demo-bluesky\",\n      \"network\": \"bluesky\",\n      \"status\": \"scheduled\"\n    },\n    {\n      \"account_id\": \"demo-linkedin\",\n      \"network\": \"linkedin\",\n      \"status\": \"scheduled\"\n    }\n  ],\n  \"simulated\": true,\n  \"notice\": \"Demo server: simulated result, nothing was sent to any network.\",\n  \"replayed\": false\n}"
            }
          ],
          "structuredContent": {
            "post_id": "demo_83e59d481383",
            "status": "scheduled",
            "scheduled_at": "2026-12-01T09:00:00+01:00",
            "accounts": [
              {
                "account_id": "demo-bluesky",
                "network": "bluesky",
                "status": "scheduled"
              },
              {
                "account_id": "demo-linkedin",
                "network": "linkedin",
                "status": "scheduled"
              }
            ],
            "simulated": true,
            "notice": "Demo server: simulated result, nothing was sent to any network.",
            "replayed": false
          },
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "schedule_post (retry, same key)",
      "request": {
        "jsonrpc": "2.0",
        "id": 7,
        "method": "tools/call",
        "params": {
          "name": "schedule_post",
          "arguments": {
            "account_ids": [
              "demo-bluesky",
              "demo-linkedin"
            ],
            "text": "Our December changelog is live: scheduled posts now show their time zone.",
            "scheduled_at": "2026-12-01T09:00:00+01:00",
            "idempotency_key": "launch-2026-12-01-changelog"
          },
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 7,
        "result": {
          "resultType": "complete",
          "content": [
            {
              "type": "text",
              "text": "{\n  \"post_id\": \"demo_83e59d481383\",\n  \"status\": \"scheduled\",\n  \"scheduled_at\": \"2026-12-01T09:00:00+01:00\",\n  \"accounts\": [\n    {\n      \"account_id\": \"demo-bluesky\",\n      \"network\": \"bluesky\",\n      \"status\": \"scheduled\"\n    },\n    {\n      \"account_id\": \"demo-linkedin\",\n      \"network\": \"linkedin\",\n      \"status\": \"scheduled\"\n    }\n  ],\n  \"simulated\": true,\n  \"notice\": \"Demo server: simulated result, nothing was sent to any network.\",\n  \"replayed\": true\n}"
            }
          ],
          "structuredContent": {
            "post_id": "demo_83e59d481383",
            "status": "scheduled",
            "scheduled_at": "2026-12-01T09:00:00+01:00",
            "accounts": [
              {
                "account_id": "demo-bluesky",
                "network": "bluesky",
                "status": "scheduled"
              },
              {
                "account_id": "demo-linkedin",
                "network": "linkedin",
                "status": "scheduled"
              }
            ],
            "simulated": true,
            "notice": "Demo server: simulated result, nothing was sent to any network.",
            "replayed": true
          },
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    },
    {
      "step": "get_post_status",
      "request": {
        "jsonrpc": "2.0",
        "id": 11,
        "method": "tools/call",
        "params": {
          "name": "get_post_status",
          "arguments": {
            "post_id": "demo_83e59d481383"
          },
          "_meta": {
            "io.modelcontextprotocol/protocolVersion": "2026-07-28",
            "io.modelcontextprotocol/clientInfo": {
              "name": "apiwings-guide-test-client",
              "version": "1.0.0"
            },
            "io.modelcontextprotocol/clientCapabilities": {}
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 11,
        "result": {
          "resultType": "complete",
          "content": [
            {
              "type": "text",
              "text": "{\n  \"post_id\": \"demo_83e59d481383\",\n  \"status\": \"scheduled\",\n  \"scheduled_at\": \"2026-12-01T09:00:00+01:00\",\n  \"accounts\": [\n    {\n      \"account_id\": \"demo-bluesky\",\n      \"network\": \"bluesky\",\n      \"status\": \"scheduled\"\n    },\n    {\n      \"account_id\": \"demo-linkedin\",\n      \"network\": \"linkedin\",\n      \"status\": \"scheduled\"\n    }\n  ],\n  \"simulated\": true,\n  \"notice\": \"Demo server: simulated result, nothing was sent to any network.\"\n}"
            }
          ],
          "structuredContent": {
            "post_id": "demo_83e59d481383",
            "status": "scheduled",
            "scheduled_at": "2026-12-01T09:00:00+01:00",
            "accounts": [
              {
                "account_id": "demo-bluesky",
                "network": "bluesky",
                "status": "scheduled"
              },
              {
                "account_id": "demo-linkedin",
                "network": "linkedin",
                "status": "scheduled"
              }
            ],
            "simulated": true,
            "notice": "Demo server: simulated result, nothing was sent to any network."
          },
          "_meta": {
            "io.modelcontextprotocol/serverInfo": {
              "name": "apiwings-guide-demo-social",
              "version": "1.0.0"
            }
          }
        }
      }
    }
  ]
}
