link-quest-to-npc
Append a link from a quest journal to a real Foundry VTT NPC actor, inserting a clickable UUID enricher link in a GM note with a relationship label.
Instructions
Append a link from a quest journal to a REAL world NPC: resolves the actor, inserts a Foundry @UUID[Actor.id]{Name} enricher link (clickable on render) in a GM note, labelled with the relationship. Refuses an unknown NPC (no dead links) — create the actor first.
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": {
"journalId": "<journalId>",
"npcName": "<npcName>",
"relationship": "<relationship>"
},
"name": "link-quest-to-npc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page to add the link to (id from list-journals). Omit to use the first text page. | |
| npcName | Yes | Name (or id) of a REAL world Actor to link. Must resolve — a dead link is refused. | |
| journalId | Yes | ID of the quest journal entry. | |
| relationship | Yes | Relationship between the NPC and the quest. |