View as Markdown

SDK reference · Rails

needMoreStatus

needMoreStatus in @provenanceauth/rails/a2a, Rails. The status a receiver answers with when its grant is too small: auth required, naming what it needs.

Signature

needMoreStatus(need: DelegationNeed, text: string, ids: { messageId: string; contextId?: string; taskId?: string }): A2ATaskStatus

Parameters

needDelegationNeedRequired
textstringRequired
ids{ messageId: string; contextId?: string; taskId?: string }Required

Returns

A2ATaskStatus

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.