Add a glossary term
traceable_glossary_add_termAdd a term to this document's Glossary, creating the Glossary row at the end of the body if the document has none (to put it elsewhere, write [[glossary]] there first). Name the term by termId (from traceable_glossary_search) or by its text in term. A term the organisation glossary does not have yet is created from term, description (required then), kind and categories (existing category names). Idempotent: adding a term the Glossary already shows changes nothing. In an organisation under controlled releases this works once an admin turns on Agents can fill a Glossary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | For a new term: definition (default) or acronym | |
| term | No | The term's text; created in the organisation glossary if it is new | |
| termId | No | An existing term's id, from traceable_glossary_search | |
| categories | No | For a new term: names of existing glossary categories to file it under | |
| documentId | Yes | The document whose Glossary to add the term to | |
| description | No | The definition, or what the acronym stands for; needed only for a new term |