{
  "format": "delx/intent-card/v1",
  "id": "join-lines-api",
  "intent": "Join Lines for an agent workflow",
  "title": "Join Lines API for agents",
  "description": "Join an array of lines with a separator. Call when you reassemble agent-held line lists for prompts or files. Returns joined text and line count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.",
  "keywords": [
    "Join Lines API",
    "Join Lines for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-07",
  "canonical_url": "https://commerce.delx.ai/intents/join-lines-api",
  "machine_url": "https://commerce.delx.ai/intents/join-lines-api.json",
  "recommendation": {
    "tool_name": "util_join_lines",
    "service_name": "Delx Join Lines",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/join-lines",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "lines": {
          "description": "Input field: lines.",
          "type": "array"
        },
        "separator": {
          "description": "Input field: separator.",
          "type": "string"
        }
      },
      "required": [
        "lines"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "lines": [
        "alpha",
        "beta",
        "gamma"
      ],
      "separator": "\n"
    },
    "example_output": {
      "schema": "delx/util-join-lines/v1",
      "text": "alpha\nbeta\ngamma",
      "count": 3
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/join-lines -m POST -H 'x-delx-source: intent-card-join-lines-api' --max-amount 0.001 -b '{\"lines\":[\"alpha\",\"beta\",\"gamma\"],\"separator\":\"\\n\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-join-lines-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/join-lines"
  }
}
