Skip to Content

Lucid Agents action reference

This page is generated from the plugin registry. Do not edit it by hand.

Discover and call Lucid agent entrypoints. Priced entrypoints return their x402 payment terms; this plugin never signs or pays

For guidance and examples see the Lucid Agents guide.

Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.

ActionAction type
Discover Agentlucid/discover-agent
Call Entrypointlucid/call-entrypoint

Discover Agent

Action type: lucid/discover-agent. Connection: not required.

Read a Lucid agent’s card at /.well-known/agent-card.json and list its entrypoints, which ones are priced, and what they cost

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
agentUrlstringYesAgent URL.

Outputs

OutputDescription
successWhether the card was read
nameAgent name
descriptionAgent description
versionAgent version
entrypointsEntrypoints: name, description, priced, price, priceUnit (usd, base_units or unknown), asset, network, payTo, inputSchema
pricedEntrypointsNames of the priced entrypoints
httpStatusHTTP status from the agent
errorError message if the read failed

Call Entrypoint

Action type: lucid/call-entrypoint. Connection: not required.

Invoke a Lucid agent entrypoint. A free entrypoint returns its output. A priced one does not run: the agent answers with its x402 terms, returned with status “awaiting_payment”. This action never signs or pays

Inputs

FieldTypeRequiredDefaultAllowed valuesDescription
agentUrlstringYesAgent URL.
entrypointstringYesEntrypoint.
inputstringNoInput JSON.

Outputs

OutputDescription
successWhether the call completed or returned a quote
status”completed” or “awaiting_payment”
outputEntrypoint output when completed
agentStatusThe run status the agent reported, when it reported one. Only “succeeded” completes the step
paymentFirst x402 payment requirement when payment is required: scheme, network, offerCount, amount (integer base units, absent unless the challenge stated exactly one amount), amountRejected, asset, assetDecimals, assetMismatch, payTo, resource, description, maxTimeoutSeconds
challengeThe full x402 challenge as the agent served it
runIdThe agent’s run id when completed
httpStatusHTTP status from the agent
errorError message if the call failed