mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
docs(pdf): convert Input reference to ParamField
This commit is contained in:
@@ -37,12 +37,29 @@ Availability notes:
|
||||
|
||||
## Input reference
|
||||
|
||||
- `pdf` (`string`): one PDF path or URL
|
||||
- `pdfs` (`string[]`): multiple PDF paths or URLs, up to 10 total
|
||||
- `prompt` (`string`): analysis prompt, default `Analyze this PDF document.`
|
||||
- `pages` (`string`): page filter like `1-5` or `1,3,7-9`
|
||||
- `model` (`string`): optional model override (`provider/model`)
|
||||
- `maxBytesMb` (`number`): per-PDF size cap in MB
|
||||
<ParamField path="pdf" type="string">
|
||||
One PDF path or URL.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="pdfs" type="string[]">
|
||||
Multiple PDF paths or URLs, up to 10 total.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="prompt" type="string" default="Analyze this PDF document.">
|
||||
Analysis prompt.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="pages" type="string">
|
||||
Page filter like `1-5` or `1,3,7-9`.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="model" type="string">
|
||||
Optional model override in `provider/model` form.
|
||||
</ParamField>
|
||||
|
||||
<ParamField path="maxBytesMb" type="number">
|
||||
Per-PDF size cap in MB. Defaults to `agents.defaults.pdfMaxBytesMb` or `10`.
|
||||
</ParamField>
|
||||
|
||||
Input notes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user