Skip to content

Documentation / @agentick/shared / UrlSource

Interface: UrlSource ​

Defined in: blocks.ts:78

Base properties shared by all content blocks.

Extends ​

Properties ​

createdAt? ​

readonly optional createdAt: string

Defined in: blocks.ts:58

ISO 8601 timestamp when this block was created

Inherited from ​

BaseMediaSource.createdAt


id? ​

readonly optional id: string

Defined in: blocks.ts:54

Unique identifier for this block

Inherited from ​

BaseMediaSource.id


index? ​

readonly optional index: number

Defined in: blocks.ts:62

Position of this block within the message

Inherited from ​

BaseMediaSource.index


messageId? ​

readonly optional messageId: string

Defined in: blocks.ts:56

ID of the message containing this block

Inherited from ​

BaseMediaSource.messageId


metadata? ​

readonly optional metadata: Record<string, any>

Defined in: blocks.ts:75

Additional metadata

Inherited from ​

BaseMediaSource.metadata


mimeType? ​

readonly optional mimeType: string

Defined in: blocks.ts:81

MIME type of the content (for media blocks)

Overrides ​

BaseMediaSource.mimeType


summary? ​

readonly optional summary: string

Defined in: blocks.ts:66

Human-readable summary of the content

Inherited from ​

BaseMediaSource.summary


type ​

readonly type: "url" | URL

Defined in: blocks.ts:79

Discriminator for type narrowing (e.g., 'text', 'image', 'tool_use')

Overrides ​

BaseMediaSource.type


url ​

readonly url: string

Defined in: blocks.ts:80

Released under the ISC License.