[GH-ISSUE #279] [Feature]: #111

Closed
opened 2026-10-20 17:25:15 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @adunato on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/279

NOTE - placeholder issue to support PR #212

Issue: Agents need configurable access to tools at runtime

Summary

Agents should be able to use tools according to the tool selections configured in the UI. This should work consistently for built-in agents and custom agents, while still respecting chat-level tool settings.

Problem

The app exposes tool/function-calling configuration in the UI, but agent runtime tool access is not consistently driven by that configuration. In particular, custom agents cannot reliably use tools through the same path as built-in/special-cased agents.

This limits agent extensibility:

  • Users can create custom agents, but cannot reliably grant them selected tools at runtime.
  • Tool behavior is harder to reason about because some paths are special-cased instead of using one consistent resolver.
  • Chat-level tool settings and per-agent tool settings are not clearly enforced together.

Desired Behavior

  • Chat settings control whether tools are available in a chat.
  • Chat settings control which tools are available in that chat.
  • Agent settings control which of those available tools a specific agent may use.
  • Built-in and custom agents use the same runtime tool resolution path.
  • Tool calls from agents are checked against the agent's allowed tools before execution.
  • Invalid or conflicting custom tool definitions should not break generation for otherwise valid tools.

Acceptance Criteria

  • A custom agent can be configured in the UI with selected tools and can use those tools during generation.
  • A built-in agent and a custom agent follow the same runtime tool-selection rules.
  • If chat-level tools are disabled, agents cannot use tools.
  • If a tool is not selected for an agent, that agent cannot execute it.
  • If a custom tool is invalid or conflicts with another tool name, it is skipped cleanly and does not prevent other valid tools from being available.
Originally created by @adunato on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/279 NOTE - placeholder issue to support PR #212 # Issue: Agents need configurable access to tools at runtime ## Summary Agents should be able to use tools according to the tool selections configured in the UI. This should work consistently for built-in agents and custom agents, while still respecting chat-level tool settings. ## Problem The app exposes tool/function-calling configuration in the UI, but agent runtime tool access is not consistently driven by that configuration. In particular, custom agents cannot reliably use tools through the same path as built-in/special-cased agents. This limits agent extensibility: - Users can create custom agents, but cannot reliably grant them selected tools at runtime. - Tool behavior is harder to reason about because some paths are special-cased instead of using one consistent resolver. - Chat-level tool settings and per-agent tool settings are not clearly enforced together. ## Desired Behavior - Chat settings control whether tools are available in a chat. - Chat settings control which tools are available in that chat. - Agent settings control which of those available tools a specific agent may use. - Built-in and custom agents use the same runtime tool resolution path. - Tool calls from agents are checked against the agent's allowed tools before execution. - Invalid or conflicting custom tool definitions should not break generation for otherwise valid tools. ## Acceptance Criteria - A custom agent can be configured in the UI with selected tools and can use those tools during generation. - A built-in agent and a custom agent follow the same runtime tool-selection rules. - If chat-level tools are disabled, agents cannot use tools. - If a tool is not selected for an agent, that agent cannot execute it. - If a custom tool is invalid or conflicts with another tool name, it is skipped cleanly and does not prevent other valid tools from being available.
bsakaguchi 2026-10-20 17:25:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#111
No description provided.