Docs
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
AG Grid
OpenRouter
WorkOS
Unkey
Sentry
Electric
Prisma
CodeRabbit
Cloudflare
Railway
Netlify
Clerk
SerpAPI
AG Grid
OpenRouter
WorkOS
Unkey
Sentry
Electric
Prisma
Class References
Function References
Interface References
Type Alias References
Variable References

ContentPartUrlSource

Interface: ContentPartUrlSource

Defined in: packages/ai/src/types.ts:199

Source specification for URL-based content. mimeType is optional as it can often be inferred from the URL or response headers.

Properties

mimeType?

ts
optional mimeType: string;
optional mimeType: string;

Defined in: packages/ai/src/types.ts:211

Optional MIME type hint for cases where providers can't infer it from the URL.


type

ts
type: "url";
type: "url";

Defined in: packages/ai/src/types.ts:203

Indicates this is URL-referenced content.


value

ts
value: string;
value: string;

Defined in: packages/ai/src/types.ts:207

HTTP(S) URL or data URI pointing to the content.