spring-projects / spring-projects/spring-ai

How to expose the tools defined by ToolCalling in Springai to users? What tools are available?

Open
#3,908 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
1d 7h
Merged PRs (30d)
6

Description

`@Configuration(proxyBeanMethods = false)
public class WeatherTools {
public static final String CURRENT_WEATHER_TOOL = "currentWeather";

WeatherService weatherService = new WeatherService();

/**
 * mock tools 
 * @return
 */
@Bean(CURRENT_WEATHER_TOOL)
@Description("get weather")
Function<WeatherRequest, WeatherResponse> currentWeather() {
    return weatherService;
}

}`
Just like this, how can I let users know that I have this current Weather tool and its function description, similar to MCP tools

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the ToolCalling and MCP tool concepts referenced in the issue, then determine how the currentWeather bean's name and function description could be exposed to users. Done should mean users can discover that the currentWeather tool exists and understand its function description.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
ai
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.