Discover the tools
Sign in with Pro in Spillit before running workspace tools.
These examples use JSON-RPC, a message format for requests and results. Send each example as one line on the connection.
Initialize your Model Context Protocol (MCP) connection. Then use tools/list to inspect the tools available to your session.
- DiscoverUse
tools/listto see which operations your session offers. - Read firstCall
read_todayto check which events, tasks, and notes come back. - Try a writeUse
create_taskin a sample library. Open Spillit to check that the task appears.
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
Some builds expose common tools first. If your session offers find_tools, use it to discover more tools by topic. Check the returned argument requirements before calling a tool.
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"find_tools","arguments":{"query":"projects"}}}
Read today
read_today returns calendar events, tasks due or overdue, and recently changed notes.
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"read_today","arguments":{}}}
Create a task in a sample workspace
Try this with a disposable library. Choose Ask before changes under Agent access, then approve the proposed change when prompted.
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"create_task","arguments":{"data":{"activity":"Review workshop agenda"},"request_id":"help-center-example-1"}}}
Use a new request_id for every new change. When retrying the same change, reuse the same ID and identical arguments.
If a write was interrupted, use read_operation with its request_id to check the result before retrying. Discover it through find_tools if needed.
Read the MCP protocol documentation for client initialization and transport details.
Was this article helpful?
Thanks. Glad it helped.
Thanks for telling us.Try the search, or the related topic in the sidebar.