Agent Skills · Example Payload

Agent Skills Tool Example

Get the current weather for a given location.

Agent SkillsAI AgentsTool UseFunction CallingMCPAgentic AIAutomation

Agent Skills Tool Example is an example object payload from Agent Skills, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

typenamedescriptioninput_schemastrict

Example Payload

agent-skills-tool-example.json Raw ↑
{
  "type": "function",
  "name": "get_weather",
  "description": "Get the current weather for a given location.",
  "input_schema": {
    "type": "object",
    "properties": {
      "location": {
        "type": "string",
        "description": "City and state or country, e.g. San Francisco, CA"
      },
      "unit": {
        "type": "string",
        "enum": ["celsius", "fahrenheit"],
        "description": "Temperature unit"
      }
    },
    "required": ["location"]
  },
  "strict": false
}