title: Core. Discover Response
A2A Node SDK - v0.1.0 / Modules / Core / DiscoverResponse
Interface: DiscoverResponse
Core.DiscoverResponse
Response format for agent discovery
Remarks
Follows JSON-RPC response format
Table of contents
Properties
Properties
error
• Optional error: Object
Optional error information if discovery failed
Type declaration
| Name | Type | Description |
|---|---|---|
code | number | Error code in the JSON-RPC reserved range |
data? | Record<string, any> | Optional additional error data |
message | string | Human-readable error message |
id
• id: string
Request identifier (matching the request)
result
• result: AgentCard[]
Array of agent cards found during discovery