spring-projects / spring-projects/spring-ai
How to expose the tools defined by ToolCalling in Springai to users? What tools are available?
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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