Install
openclaw skills install line-openapi-skillOperate LINE Messaging API through UXC with a curated OpenAPI schema, bearer-token auth, and messaging-core guardrails.
openclaw skills install line-openapi-skillUse this skill to run LINE Messaging API operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
uxc is installed and available in PATH.https://api.line.me.https://raw.githubusercontent.com/holon-run/uxc/main/skills/line-openapi-skill/references/line-messaging.openapi.jsonThis skill covers a Messaging Core surface:
This skill does not cover:
api-data.line.meLINE Messaging API uses Authorization: Bearer <channel access token>.
Configure one bearer credential and bind it to api.line.me:
uxc auth credential set line-channel \
--auth-type bearer \
--secret-env LINE_CHANNEL_ACCESS_TOKEN
uxc auth binding add \
--id line-channel \
--host api.line.me \
--scheme https \
--credential line-channel \
--priority 100
Validate the active mapping when auth looks wrong:
uxc auth binding match https://api.line.me
Use the fixed link command by default:
command -v line-openapi-cliuxc link line-openapi-cli https://api.line.me --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/line-openapi-skill/references/line-messaging.openapi.jsonline-openapi-cli -hInspect operation schema first:
line-openapi-cli get:/v2/bot/info -hline-openapi-cli get:/v2/bot/profile/{userId} -hline-openapi-cli post:/v2/bot/message/push -hPrefer read/setup validation before writes:
line-openapi-cli get:/v2/bot/infoline-openapi-cli get:/v2/bot/message/quotaline-openapi-cli get:/v2/bot/channel/webhook/endpointExecute with key/value or positional JSON:
line-openapi-cli get:/v2/bot/profile/{userId} userId=U1234567890abcdefline-openapi-cli post:/v2/bot/message/push '{"to":"U1234567890abcdef","messages":[{"type":"text","text":"Hello from UXC"}]}'get:/v2/bot/infoget:/v2/bot/profile/{userId}get:/v2/bot/message/quotaget:/v2/bot/message/quota/consumptionget:/v2/bot/channel/webhook/endpointpost:/v2/bot/message/pushpost:/v2/bot/message/replyput:/v2/bot/channel/webhook/endpointpost:/v2/bot/channel/webhook/test--text.ok, kind, protocol, data, error.post:/v2/bot/message/push and post:/v2/bot/message/reply are write/high-risk operations; require explicit user confirmation before execution.replyToken values are short-lived and webhook-derived. Use post:/v2/bot/message/reply only when the caller already has a valid token from a recent event.uxc.https://api.line.me; content retrieval endpoints on https://api-data.line.me are intentionally out of scope.line-openapi-cli <operation> ... is equivalent to uxc https://api.line.me --schema-url <line_openapi_schema> <operation> ....references/usage-patterns.mdreferences/line-messaging.openapi.json