mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3275] docs: no user guide for Custom Tools / Function Calling (webhook & script tools, built-in web_search) #1771
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1771
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3275
Originally assigned to: @SpicyMarinara on GitHub.
A shipped, user-facing feature has no user documentation. Found in a docs-coverage sweep against v2.1.0 (each gap re-checked with fresh greps across
docs/andREADME.mdto confirm coverage really is absent). Suggested home: new-docdocs/CUSTOM_TOOLS.md.Feature: Custom Tools (tool calling): Static Result / Webhook / Script tools, parameter schema, and attaching them to agents
Why it needs docs (user impact):
Tool calling is a headline power-user/migration capability. The three execution types, the parameter schema, the requirement to set CUSTOM_TOOL_SCRIPT_ENABLED and (for local URLs) WEBHOOK_LOCAL_URLS_ENABLED, and above all the non-obvious 'attach via an agent's enabledTools so the model can call it' step are easy to get wrong and undocumented for users.
What the docs currently say (i.e. the gap):
grep -ri 'custom tool|webhook|tool calling' docs + README: CONFIGURATION.md line 250 documents only the env-var/admin-secret gating (CUSTOM_TOOL_SCRIPT_ENABLED, admin secret). ARCHITECTURE_MAP.md line 108 and FRONTEND.md lines 234/439/488 are developer/architecture references (hook/schema/route tables). integrations/home-assistant.md mentions the Custom Tools panel only in passing. README has zero hits. No user guide exists on what the three execution types do, the JSON parameter schema, how to write a webhook or script tool, script sandbox/timeout limits, or the load-bearing final step of enabling the tool on an agent (enabledTools) so the model can actually call it.
Evidence it shipped and is user-facing:
packages/client/src/components/agents/ToolEditor.tsx (714 lines) is a full authoring surface. EXEC_TYPES is live: Static Result ('Returns a fixed string'), Webhook ('Sends a POST request to an external URL'), Script ('Runs a JavaScript expression server-side'). It has per-parameter name/description/required schema, Webhook URL, Script Body, a 'Hidden Marinara context' toggle, and Export/Delete. Backed by packages/server/src/routes/custom-tools.routes.ts. Tools attach to agents via enabledTools (verified in AgentEditor.tsx lines 427/602-613 useCustomTools + enabledTools). CHANGELOG references it across releases (e.g. line 725 'Script custom tools now show their disabled state...', line 784 Home Assistant syncs custom tools). SCRIPT_TOOLS_DISABLED_MESSAGE in the editor tells users to set CUSTOM_TOOL_SCRIPT_ENABLED=true.
Confidence: high. This is a suggested new doc/section, not a bug - close if it's out of scope or already planned.
@SpicyMarinara commented on GitHub (Jul 5, 2026):
Addressed in #3289.