feat(agent): add read_pdf_pages tool and PDF page context support

This commit is contained in:
yiling
2026-07-19 09:45:14 +08:00
parent 68a0fb7319
commit f68ba70656
22 changed files with 753 additions and 6 deletions
+8
View File
@@ -255,6 +255,13 @@ declare global {
annotations?: AnnotationList | null
}
export interface PdfPagesSpec {
start: number
end: number
commentTimestamp?: number | null
annotations?: AnnotationList | null
}
export interface WorkflowTaskPayload {
projectId: string
transcode?: TaskSpec
@@ -265,6 +272,7 @@ declare global {
agentToolCall?: AgentToolCallPayload
screenshot?: ScreenshotSpec
imageAnnotation?: ImageAnnotationSpec
pdfPages?: PdfPagesSpec
}
// ----------------------------------------------------------------------