Using process tool

From Fj-ivy/langchain4j-examples · View interactive version

Using process tool is an AI agent skill from the GitHub repository Fj-ivy/langchain4j-examples. Describes how to correctly use 'process' tool

How to use this skill

Skill file

Workflow

When user asks you to use the 'process' tool, follow this two-step sequence:

Step 1: Generate an ID

First, call the 'generate' tool with 2 arguments:

The 'generate' tool returns an id you will need in the next step.

Step 2: Process

Once you have the id, call the 'process' tool with 3 arguments:

Example

generate(arg0="Smith", arg1="John") → id: "abc123"
process(arg0="John", arg1="abc123", arg2="Smith") → code: 17

Handle Response Codes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.