logseq_call
Invoke any Logseq API method by providing the method name and optional arguments, enabling direct command execution.
Instructions
Call any Logseq API method, for example logseq.Editor.getCurrentPage.
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": {
"method": "<method>"
},
"name": "logseq_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| args | No |