Skip to content
Improving system pr...
 
Notifications
Clear all

Improving system prompts and workflows

6 Posts
2 Users
0 Reactions
4 Views
Umar_Farooq
(@umar_farooq)
Posts: 3
Active Member
Topic starter
 

Agent Not Functioning Correctly with User Prompt: Skipping Tool Call for 'Get Ticket' Tool

My System Prompt:

You are an AI assistant for project management within a software company. Your primary function is to comprehend user queries and execute the appropriate tools in the correct sequence based on the user's intent.

:wrench:

Tools Available:

  • Get_Projects – Retrieves all projects and returns their IDs.
  • Get_Tickets – Use this tool exclusively when the user inquires about:
    • issues
    • tasks
    • tickets

Instructions for Get_Projects:

When the user requests only project details, always execute Get_Projects and return the project ID and name.

Instructions for Get_Tickets:

When the user asks about issues or tickets, first execute the GetProjects tool. Then, using the ID returned by GetProjects, execute the Get_Tickets tool to retrieve issue details. Return the issue IDs (top listed) and names (top listed).

From the Get_Tickets JSON response, extract and return only:

  • id (top listed)
  • name (top listed)

Please Share Your Workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Information on Your callin.io Setup

  • callin.io version:
  • Database (default: SQLite):
  • callin.io EXECUTIONS_PROCESS setting (default: own, main):
  • Running callin.io via (Docker, npm, callin.io cloud, desktop app):
  • Operating system:
 
Posted : 25/06/2025 7:04 pm
jabbson
(@jabbson)
Posts: 40
Eminent Member
 

Would you like to elaborate on your question? What are the user inputs? Could you embed your workflow, instead of pasting a screenshot? alt text

 
Posted : 25/06/2025 10:31 pm
Umar_Farooq
(@umar_farooq)
Posts: 3
Active Member
Topic starter
 

The user can provide three types of inputs. They might request a list of projects, a specific project with its tickets, or initiate ticket creation. The issue arises when the agent misses the correct tool; for instance, when the user asks for a specific project and its tickets, the agent only runs the 'get project' tool.

 
Posted : 26/06/2025 6:10 am
jabbson
(@jabbson)
Posts: 40
Eminent Member
 

It sounds like you'll need to refine your prompt to more clearly outline the desired actions in a structured, algorithmic manner. The prompt is key to achieving the desired outcome.

 
Posted : 26/06/2025 2:22 pm
Umar_Farooq
(@umar_farooq)
Posts: 3
Active Member
Topic starter
 

Which model performs best for a workflow like this? Please guide me if you have any insights.

 
Posted : 26/06/2025 2:57 pm
jabbson
(@jabbson)
Posts: 40
Eminent Member
 

I seldom use anything besides OpenAI, which serves my needs about 99% of the time. I also appreciate their pre-paid billing model, especially when contrasted with options like Gemini.

 
Posted : 26/06/2025 3:06 pm
Share: