TensaHub › Kilo AI Gateway

ScaleDown: Toolcall

واجهة برمجة النموذج scaledown/toolcall لدى Kilo AI Gateway, مجانية, سياق 1,000,000 رمز. أمثلة بـ curl وPython وJavaScript، واختبار مباشر.

اختبر وقيّم في الفهرس

ScaleDown Toolcall is a task-specific model for tool selection. Given a conversation and up to 64 function tool definitions, it returns exactly one tool call in the OpenAI tool_calls format, constrained to the supplied tools so the function name always exists and the arguments validate against that tool's JSON schema. It never returns text, and streaming is not supported.

النوع
نموذج
المزوّد
Kilo AI Gateway
معرّف النموذج
scaledown/toolcall
التسعير
مجاني
الوصول دون مفتاح
لا
متغيّر المفتاح
KILO_API_KEY
عنوان URL الأساسي (متوافق مع OpenAI)
https://ai-gateway.kilo.ai/api/v1
السياق
1,000,000 رمز
المدخلات
نص
الميزات
استدعاء الأدوات
زمن الاستجابة
الوسيط — ms · p95 — ms · أول رمز — ms · نسبة النجاح —% في 3 اختبار · آخر اختبار 2026-12-04T01:21:34.151Z
تقييم المطوّرين
لم يُقيَّم بعد
التوثيق
https://kilo.ai
آخر تحقق
2026-12-04T01:21:34.151Z

أمثلة برمجية

cURL

curl https://ai-gateway.kilo.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $KILO_API_KEY" \
  -d '{"model":"scaledown/toolcall","messages":[{"role":"user","content":"مرحبًا، عرّف بنفسك في جملة واحدة."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://ai-gateway.kilo.ai/api/v1", api_key=os.environ["KILO_API_KEY"])
r = client.chat.completions.create(
    model="scaledown/toolcall",
    messages=[{"role": "user", "content": "مرحبًا، عرّف بنفسك في جملة واحدة."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://ai-gateway.kilo.ai/api/v1', apiKey: process.env.KILO_API_KEY })
const r = await client.chat.completions.create({
  model: 'scaledown/toolcall',
  messages: [{ role: 'user', content: 'مرحبًا، عرّف بنفسك في جملة واحدة.' }],
})
console.log(r.choices[0].message.content)

توليد شيفرة الدمج →

عمليات بحث شائعة

الأسئلة الشائعة

هل واجهة ScaleDown: Toolcall مجانية؟

نعم: يمكن استخدام ScaleDown: Toolcall مجانًا بمفتاح واجهة برمجة، ضمن حدود المزوّد.

كيف أستدعي ScaleDown: Toolcall من شيفرتي؟

يوفّر ScaleDown: Toolcall واجهة متوافقة مع OpenAI على العنوان https://ai-gateway.kilo.ai/api/v1: استخدم أي مكتبة OpenAI ‏(Python أو JavaScript…) مع عنوان URL الأساسي هذا. معرّف النموذج: scaledown/toolcall. تتوفّر شيفرة جاهزة (بث، JSON، إعادة محاولة) في صندوق أدوات المطوّر.

ما حجم نافذة السياق في ScaleDown: Toolcall؟

يقبل ScaleDown: Toolcall حتى 1,000,000 رمز من السياق (الرسالة والسجل).

ما بدائل ScaleDown: Toolcall؟

واجهات مشابهة في الفهرس: ScaleDown: Toolcall (free), ScaleDown: Toolcall (free), ScaleDown: Summarize, ScaleDown: Extract.

بدائل