Wiki source code of Work with Structured Data
Last modified by Vincent Massol on 2026/09/04 19:20
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Have a connected assistant read and update the entries an XWiki application keeps on its pages, such as meetings, tasks or blog posts (see [[Agent Authentication>>doc:documentation.extensions.user.llm.mcp-server.agent-authentication.WebHome]] for what it may open and change). | ||
| 2 | |||
| 3 | 1. Ask the assistant which fields the application's entries have.((( | ||
| 4 | {{image reference="assistant-schema-result.png" size="extra" alt="A terminal session in which the assistant reports the three fields of a meeting class with their types, highlighted"/}} | ||
| 5 | ))) | ||
| 6 | 1. Ask for the entries you want, naming the fields to show and any condition they must meet.((( | ||
| 7 | {{image reference="assistant-objects-result.png" size="extra" alt="A terminal session in which the assistant lists two meeting entries with their title, date and status fields, highlighted"/}} | ||
| 8 | ))) | ||
| 9 | 1. Ask it to change an entry, and check what it reports: the fields it set and the page's new version.((( | ||
| 10 | {{image reference="assistant-object-write.png" size="extra" alt="A terminal session in which the assistant sets the status field of a meeting entry and reports the new page version 1.2, highlighted"/}} | ||
| 11 | ))) |