Cannoli seems to be incapable of transmitting only the linked sections (headings and corresponding paragraphs) to the LLM. Although it correctly displays only the corresponding sections in the Cannoli nodes, the entire note is always sent to the LLM!
update:
i think it only occurs when linking to subheadings (i.e. with at least 2 #): /note#heading#subheading
(even if i don't, smart connections for example always prints that format)
In this case, all content under the superior heading is sent (not necessarily the whole note;)