A-Mistral-Agent / tools.json
mriusero
feat: 55 pts version
0167b87
[
{
"type": "function",
"function": {
"name": "web_search",
"description": "Performs a web search based on the query and returns the top search results.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query to perform (Warning: have to be concise and precise)."
},
"max_results": {
"type": "integer",
"description": "The maximum number of results to return. Defaults to 10."
},
"timeout": {
"type": "integer",
"description": "Timeout for the search request in seconds. Defaults to 10."
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "visit_webpage",
"description": "Visits a webpage at the given URL and reads its content as a markdown string.",
"parameters": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL of the webpage to visit."
}
},
"required": [
"url"
]
}
}
},
{
"type": "function",
"function": {
"name": "retrieve_knowledge",
"description": "Retrieves knowledge from a database with a provided query.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query to search for in the vector store."
},
"n_results": {
"type": "integer",
"description": "The number of results to return. Default is 1."
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "reverse_text",
"description": "Reverses an input string to make it readable.",
"parameters": {
"type": "object",
"properties": {
"input_text": {
"type": "string",
"description": "The reversed text string to process."
}
},
"required": [
"input_text"
]
}
}
},
{
"type": "function",
"function": {
"name": "analyze_chess",
"description": "Analyzes a chess position from an image and return the game situation in FEN format.",
"parameters": {
"type": "object",
"properties": {
"image_path": {
"type": "string",
"description": "The path to the image file containing the chess game."
}
},
"required": [
"image_path"
]
}
}
},
{
"type": "function",
"function": {
"name": "classify_foods",
"description": "Classifies a list of foods into specific botanical categories.",
"parameters": {
"type": "object",
"properties": {
"food_list": {
"type": "array",
"description": "A list of foods to classify."
}
},
"required": [
"food_list"
]
}
}
},
{
"type": "function",
"function": {
"name": "transcribe_audio",
"description": "Transcribes the content of an audio file into text.",
"parameters": {
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "The path to the audio file to transcribe."
},
"language": {
"type": "string",
"description": "The language of the audio content. If None, the language will be detected automatically. Defaults to None."
}
},
"required": [
"file_path"
]
}
}
},
{
"type": "function",
"function": {
"name": "execute_code",
"description": "Executes Python code from a file and returns the final result.",
"parameters": {
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "The path to the file containing the Python code to execute."
}
},
"required": [
"file_path"
]
}
}
},
{
"type": "function",
"function": {
"name": "analyze_excel",
"description": "Analyzes data from an Excel file to extract specific information.",
"parameters": {
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "The path to the Excel file to analyze."
},
"sheet_name": {
"type": "string",
"description": "The name of the sheet to read. If None, the first sheet is used."
},
"specific_columns": {
"type": "array",
"description": "A list of column names to extract. If None, all columns are extracted."
}
},
"required": [
"file_path"
]
}
}
},
{
"type": "function",
"function": {
"name": "analyze_youtube_video",
"description": "Analyse the text description and the visual content of a Youtube video.",
"parameters": {
"type": "object",
"properties": {
"video_url": {
"type": "string",
"description": "The URL of the YouTube video to analyze."
}
},
"required": [
"video_url"
]
}
}
},
{
"type": "function",
"function": {
"name": "calculate_sum",
"description": "Calculates the sum of a list of numbers.",
"parameters": {
"type": "object",
"properties": {
"numbers": {
"type": "array",
"description": "A list of numbers to be summed from the question."
}
},
"required": [
"numbers"
]
}
}
}
]