List Documents
Perform List Documents through Medsender.
medsender_list_documentsreadmedsender
Inputs
- Fetch All Pages
fetch_all_pagesbooleanOptional true-or-false value.
Default:
true - Page
pagenumberOptional numeric value.
Default:
1 - Max Pages
max_pagesnumberOptional numeric value.
Default:
20 - Page Size
page_sizenumberOptional numeric value.
- Sort Dir
sort_dirselectOptional selected identifier or value.
Default:
"desc"Options: Newest First ("desc"), Oldest First ("asc")
Outputs
successSuccessdocumentsDocumentscountCountpagePageper_pagePer Pagehas_moreHas Morepages_fetchedPages FetchedscannedScannederrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"properties": {
"page": {
"type": "number",
"default": 1,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"sort_dir": {
"enum": [
"desc",
"asc"
],
"type": "string",
"default": "desc",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"max_pages": {
"type": "number",
"default": 20,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"page_size": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"fetch_all_pages": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"page": {},
"count": {},
"error": {},
"scanned": {},
"success": {},
"has_more": {},
"per_page": {},
"documents": {},
"pages_fetched": {}
},
"additionalProperties": true
}