Copy pdf to wiki
copy_pdf_to_wikiCopy a PDF from another site onto a wiki page by its link — an article a conspectus cites, kept here in case it disappears there. The server fetches it: an https address on the public internet only, a PDF by its bytes, at most 50 MB. The copy is attached to the page (pageId, or spaceKey + title) under 'filename' or the address's own name, with where it came from and when; the page's history says who copied it. It is the project's working copy: shown to the project's members, and to a reader from outside a public project only as the link to the original. Once attached, pdf_page_image shows its pages, search finds its words, and «Recognize with formulas» (recognize_pdf) can read it with its formulas. Requires permission to edit the page.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "copy_pdf_to_wiki"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The PDF's address, https. | |
| title | No | Exact page title, when identifying the page by title. | |
| pageId | No | Page id (as returned by search_wiki). | |
| filename | No | The name to keep it under, e.g. 'toda-2003.pdf'. The address's own name otherwise. | |
| spaceKey | No | Space key, when identifying the page by title. |