mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 05:14:25 +00:00
feat(agent): add read_pdf_pages tool and PDF page context support
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user