id stringlengths 6 6 | kind stringclasses 2
values | language stringclasses 1
value | query stringlengths 7 373 | tools listlengths 12 12 | expected_tool_calls listlengths 1 3 ⌀ | answer stringclasses 471
values | messages listlengths 3 3 | conversations listlengths 3 3 |
|---|---|---|---|---|---|---|---|---|
g00423 | tool | 繁體中文 | 我現在人在不同時區遠端辦公,需要檢查一下目前 context 為 'prod-cluster' 的叢集中,'dev-team' 這個帳號在 'backend-services' 命名空間下具體擁有哪些權限,麻煩幫我審查一下。 | [
{
"type": "function",
"function": {
"name": "backup_create_tool",
"description": "Create a new Velero backup.",
"parameters": {
"additionalProperties": false,
"properties": {
"name": {
"default": "",
"type": "string"
},
... | [
{
"name": "audit_rbac_permissions",
"arguments": {
"namespace": "backend-services",
"subject": "dev-team",
"context": "prod-cluster"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我現在人在不同時區遠端辦公,需要檢查一下目前 context 為 'prod-cluster' 的叢集中,'dev-team' 這個帳號在 'backend-services' 命名空間下具體擁有哪些權限,麻煩幫我審查一下。"
},
{
"role": "assistant",
"content": null,
... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"backup_create_tool\",\n \"description\": \"Create a new Velero backup.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n... |
g04346 | tool | 繁體中文 | 大半夜寫作業寫到頭痛,可以幫我檢查一下目前運作中的 kind 叢集「my-test-cluster」的設定檔內容嗎? | [
{
"type": "function",
"function": {
"name": "kubevirt_vm_restart_tool",
"description": "Restart a VirtualMachine.",
"parameters": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"namespace": {
... | [
{
"name": "kind_config_show_tool",
"arguments": {
"name": "my-test-cluster"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "大半夜寫作業寫到頭痛,可以幫我檢查一下目前運作中的 kind 叢集「my-test-cluster」的設定檔內容嗎?"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_g04346... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"kubevirt_vm_restart_tool\",\n \"description\": \"Restart a VirtualMachine.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"name\":... |
g03975 | tool | 繁體中文 | 現在凌晨三點,我正在趕 Kubernetes 安全性的作業,想請你幫我確認一下目前這個叢集裡到底裝了哪些政策引擎?我的 context 是 'dev-cluster'。 | [
{
"type": "function",
"function": {
"name": "certs_challenges_list_tool",
"description": "List ACME challenges for debugging certificate issuance.",
"parameters": {
"additionalProperties": false,
"properties": {
"namespace": {
"default": "",
... | [
{
"name": "policy_detect_tool",
"arguments": {
"context": "dev-cluster"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "現在凌晨三點,我正在趕 Kubernetes 安全性的作業,想請你幫我確認一下目前這個叢集裡到底裝了哪些政策引擎?我的 context 是 'dev-cluster'。"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"certs_challenges_list_tool\",\n \"description\": \"List ACME challenges for debugging certificate issuance.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"p... |
g04528 | no_tool | 繁體中文 | 我現在身處舊金山,團隊成員在台北,請問對於跨時區工作的溝通協作,你有什麼建議嗎? | [
{
"type": "function",
"function": {
"name": "get_ingress",
"description": "Get Ingress resources in a namespace or cluster-wide.",
"parameters": {
"additionalProperties": false,
"properties": {
"namespace": {
"anyOf": [
{
... | null | 建議善用非同步溝通工具如 Slack 或 Notion 來同步進度,並將會議安排在雙方時區重疊的時段,例如舊金山的傍晚與台北的早上,以減少溝通延遲。 | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我現在身處舊金山,團隊成員在台北,請問對於跨時區工作的溝通協作,你有什麼建議嗎?"
},
{
"role": "assistant",
"content": "建議善用非同步溝通工具如 Slack 或 Notion 來同步進度,並將會議安排在雙方時區重疊的時段,例如舊金山的傍晚與台北的早上,以減少溝通延遲。"
... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"get_ingress\",\n \"description\": \"Get Ingress resources in a namespace or cluster-wide.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n ... |
g02960 | tool | 繁體中文 | 我週末在測試 kind 集群,發現 worker 節點有點問題,能幫我看一下 kind-worker 這個節點最後的 50 行日誌嗎? | [
{
"type": "function",
"function": {
"name": "get_crds",
"description": "Get Custom Resource Definitions in the cluster.",
"parameters": {
"additionalProperties": false,
"properties": {
"group": {
"anyOf": [
{
"type": "stri... | [
{
"name": "kind_node_logs_tool",
"arguments": {
"node": "kind-worker",
"tail": 50
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我週末在測試 kind 集群,發現 worker 節點有點問題,能幫我看一下 kind-worker 這個節點最後的 50 行日誌嗎?"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "ca... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"get_crds\",\n \"description\": \"Get Custom Resource Definitions in the cluster.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"g... |
g05512 | tool | 繁體中文 | 緊急情況!我需要立即把在 'prod-cluster' 命名空間下名為 'sales-vcluster' 的 vCluster 升級到 Kubernetes 1.29.2 版本,請立刻幫我執行。 | [
{
"type": "function",
"function": {
"name": "vind_upgrade_tool",
"description": "Upgrade a vCluster instance.",
"parameters": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"description": "Name of the vCluster ... | [
{
"name": "vind_upgrade_tool",
"arguments": {
"name": "sales-vcluster",
"namespace": "prod-cluster",
"kubernetes_version": "1.29.2"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "緊急情況!我需要立即把在 'prod-cluster' 命名空間下名為 'sales-vcluster' 的 vCluster 升級到 Kubernetes 1.29.2 版本,請立刻幫我執行。"
},
{
"role": "assistant",
"content": null,
"tool_calls... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"vind_upgrade_tool\",\n \"description\": \"Upgrade a vCluster instance.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n... |
g02449 | tool | 繁體中文 | 不好意思打擾了,我最近在研究一些 Kubernetes 的部署方案,對 'bitnami/postgresql' 這個 Helm chart 蠻感興趣的。能不能麻煩您幫我查一下它的詳細定義資訊呢?如果有特定的版本要求,我希望能看看 12.1.2 版的內容,這樣我比較好評估配置細節。謝謝你的幫忙! | [
{
"type": "function",
"function": {
"name": "helm_show_chart",
"description": "Show the chart definition (Chart.yaml).",
"parameters": {
"additionalProperties": false,
"properties": {
"chart": {
"type": "string",
"description": "Chart refer... | [
{
"name": "helm_show_chart",
"arguments": {
"chart": "bitnami/postgresql",
"version": "12.1.2"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "不好意思打擾了,我最近在研究一些 Kubernetes 的部署方案,對 'bitnami/postgresql' 這個 Helm chart 蠻感興趣的。能不能麻煩您幫我查一下它的詳細定義資訊呢?如果有特定的版本要求,我希望能看看 12.1.2 版的內容,這樣我比較好評估配置細節。謝謝你的幫忙!"
},
{
"role"... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"helm_show_chart\",\n \"description\": \"Show the chart definition (Chart.yaml).\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"ch... |
g02089 | tool | 繁體中文 | 因為人在跨時區辦公,無法及時監控狀態,麻煩幫我抓取命名空間 'prod-vcluster' 中名稱為 'cluster-alpha' 的虛擬叢集最近 500 行日誌,我想檢查一下運作狀況。 | [
{
"type": "function",
"function": {
"name": "backup_create_tool",
"description": "Create a new Velero backup.",
"parameters": {
"additionalProperties": false,
"properties": {
"name": {
"default": "",
"type": "string"
},
... | [
{
"name": "vind_logs_tool",
"arguments": {
"name": "cluster-alpha",
"namespace": "prod-vcluster",
"tail": 500
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "因為人在跨時區辦公,無法及時監控狀態,麻煩幫我抓取命名空間 'prod-vcluster' 中名稱為 'cluster-alpha' 的虛擬叢集最近 500 行日誌,我想檢查一下運作狀況。"
},
{
"role": "assistant",
"content": null,
"tool_calls": ... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"backup_create_tool\",\n \"description\": \"Create a new Velero backup.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n... |
g04935 | tool | 繁體中文 | 我正在比較不同容器化架構下的網路連線能力,你能幫我檢查一下名為 my-dev-cluster 的 kind 叢集其底層 Docker 網路設定狀況嗎? | [
{
"type": "function",
"function": {
"name": "istio_detect_tool",
"description": "Detect if Istio is installed and its components.",
"parameters": {
"additionalProperties": false,
"properties": {
"context": {
"default": "",
"type": "string"
... | [
{
"name": "kind_network_inspect_tool",
"arguments": {
"cluster": "my-dev-cluster"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我正在比較不同容器化架構下的網路連線能力,你能幫我檢查一下名為 my-dev-cluster 的 kind 叢集其底層 Docker 網路設定狀況嗎?"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"istio_detect_tool\",\n \"description\": \"Detect if Istio is installed and its components.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n ... |
g05779 | tool | 繁體中文 | 我這週末要去尋找新開的餐廳,沒空管伺服器,麻煩把 'capi-system' 命名空間下名為 'worker-node-pool' 的機器部署規模調整為 3 個節點,謝啦! | [
{
"type": "function",
"function": {
"name": "kubevirt_vms_list_tool",
"description": "List KubeVirt VirtualMachines.",
"parameters": {
"additionalProperties": false,
"properties": {
"namespace": {
"default": "",
"type": "string"
}... | [
{
"name": "capi_machinedeployment_scale_tool",
"arguments": {
"name": "worker-node-pool",
"namespace": "capi-system",
"replicas": 3
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我這週末要去尋找新開的餐廳,沒空管伺服器,麻煩把 'capi-system' 命名空間下名為 'worker-node-pool' 的機器部署規模調整為 3 個節點,謝啦!"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"kubevirt_vms_list_tool\",\n \"description\": \"List KubeVirt VirtualMachines.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n \"name... |
g01638 | tool | 繁體中文 | 我正在評估網站的負載狀況,請幫我檢查 'production' 這個命名空間目前的資源配額使用情形。 | [
{
"type": "function",
"function": {
"name": "get_replicasets",
"description": "Get ReplicaSets in a namespace or cluster-wide.",
"parameters": {
"additionalProperties": false,
"properties": {
"namespace": {
"anyOf": [
{
"t... | [
{
"name": "get_resource_quotas",
"arguments": {
"namespace": "production"
}
}
] | null | [
{
"role": "system",
"content": "You are a helpful assistant that can call tools when needed."
},
{
"role": "user",
"content": "我正在評估網站的負載狀況,請幫我檢查 'production' 這個命名空間目前的資源配額使用情形。"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_g01638_0",
... | [
{
"from": "system",
"value": "You are a helpful assistant with access to the following tools:\n\n[\n {\n \"name\": \"get_replicasets\",\n \"description\": \"Get ReplicaSets in a namespace or cluster-wide.\",\n \"parameters\": {\n \"additionalProperties\": false,\n \"properties\": {\n ... |
End of preview. Expand in Data Studio
kubectl-mcp-server-tool-call-reasoning-6k
MCP tool-calling SFT 資料集,由 Agent Tools Fine-Tuning Platform 以「反向生成 + teacher solver 驗證」流程產生。
- 語言:繁體中文
- 工具(來自 MCP server):
install_helm_chart,upgrade_helm_chart,uninstall_helm_chart,helm_list,helm_status,helm_history,helm_get_values,helm_get_manifest,helm_get_notes,helm_get_hooks,helm_get_all,helm_show_chart,helm_show_values,helm_show_readme,helm_show_crds,helm_show_all,helm_search_repo,helm_search_hub,helm_repo_list,helm_repo_add,helm_repo_remove,helm_repo_update,helm_rollback,helm_test,helm_lint,helm_package,helm_dependency_update,helm_dependency_list,helm_dependency_build,helm_pull,helm_create,helm_version,helm_env,helm_template,helm_template_apply,get_pods,get_logs,get_pod_events,check_pod_health,exec_in_pod,cleanup_pods,run_pod,get_pod_conditions,get_previous_logs,diagnose_pod_crash,detect_pending_pods,get_evicted_pods,get_namespaces,get_services,get_nodes,get_configmaps,get_secrets,get_events,get_resource_usage,get_service_accounts,get_crds,get_resource_quotas,get_limit_ranges,get_priority_classes,list_contexts_tool,get_current_context,get_context_details,kubeconfig_view,switch_context,set_namespace_for_context,get_cluster_info,get_cluster_version,health_check,kubectl_explain,get_api_resources,get_api_versions,get_admission_webhooks,check_crd_exists,list_crds,get_nodes_summary,get_server_config_status,enable_kubeconfig_watching,disable_kubeconfig_watching,set_server_stateless_mode,node_logs_tool,node_stats_summary_tool,node_top_tool,multi_cluster_query,multi_cluster_health,multi_cluster_pod_count,get_deployments,create_deployment,scale_deployment,restart_deployment,get_replicasets,get_statefulsets,get_daemonsets,get_jobs,get_hpa,get_pdb,get_rbac_roles,get_cluster_roles,analyze_pod_security,analyze_network_policies,audit_rbac_permissions,check_secrets_security,get_pod_security_info,get_ingress,get_endpoints,diagnose_network_connectivity,check_dns_resolution,trace_service_chain,port_forward,get_persistent_volumes,get_pvcs,get_storage_classes,kubectl_apply,kubectl_describe,kubectl_generic,kubectl_patch,kubectl_rollout,kubectl_create,delete_resource,kubectl_cp,backup_resource,label_resource,annotate_resource,taint_node,wait_for_condition,node_management,compare_namespaces,get_pod_metrics,get_node_metrics,get_resource_recommendations,get_idle_resources,get_resource_quotas_usage,get_cost_analysis,get_overprovisioned_resources,get_resource_trends,get_namespace_cost_allocation,optimize_resource_requests,gitops_apps_list_tool,gitops_app_get_tool,gitops_app_sync_tool,gitops_app_status_tool,gitops_sources_list_tool,gitops_source_get_tool,gitops_detect_engine_tool,certs_list_tool,certs_get_tool,certs_issuers_list_tool,certs_issuer_get_tool,certs_renew_tool,certs_status_explain_tool,certs_challenges_list_tool,certs_requests_list_tool,certs_detect_tool,policy_list_tool,policy_get_tool,policy_violations_list_tool,policy_explain_denial_tool,policy_audit_tool,policy_detect_tool,backup_list_tool,backup_get_tool,backup_create_tool,backup_delete_tool,restore_list_tool,restore_create_tool,restore_get_tool,backup_locations_list_tool,backup_schedules_list_tool,backup_schedule_create_tool,backup_detect_tool,keda_scaledobjects_list_tool,keda_scaledobject_get_tool,keda_scaledjobs_list_tool,keda_triggerauths_list_tool,keda_triggerauth_get_tool,keda_hpa_list_tool,keda_detect_tool,cilium_policies_list_tool,cilium_policy_get_tool,cilium_endpoints_list_tool,cilium_identities_list_tool,cilium_nodes_list_tool,cilium_status_tool,hubble_flows_query_tool,cilium_detect_tool,rollouts_list_tool,rollout_get_tool,rollout_status_tool,rollout_promote_tool,rollout_abort_tool,rollout_retry_tool,rollout_restart_tool,analysis_runs_list_tool,flagger_canaries_list_tool,flagger_canary_get_tool,rollouts_detect_tool,capi_clusters_list_tool,capi_cluster_get_tool,capi_machines_list_tool,capi_machine_get_tool,capi_machinedeployments_list_tool,capi_machinedeployment_scale_tool,capi_machinesets_list_tool,capi_machinehealthchecks_list_tool,capi_clusterclasses_list_tool,capi_cluster_kubeconfig_tool,capi_detect_tool,kubevirt_vms_list_tool,kubevirt_vm_get_tool,kubevirt_vmis_list_tool,kubevirt_vm_start_tool,kubevirt_vm_stop_tool,kubevirt_vm_restart_tool,kubevirt_vm_pause_tool,kubevirt_vm_unpause_tool,kubevirt_vm_migrate_tool,kubevirt_datasources_list_tool,kubevirt_instancetypes_list_tool,kubevirt_datavolumes_list_tool,kubevirt_detect_tool,istio_virtualservices_list_tool,istio_virtualservice_get_tool,istio_destinationrules_list_tool,istio_gateways_list_tool,istio_peerauthentications_list_tool,istio_authorizationpolicies_list_tool,istio_proxy_status_tool,istio_analyze_tool,istio_sidecar_status_tool,istio_detect_tool,vind_detect_tool,vind_list_clusters_tool,vind_status_tool,vind_get_kubeconfig_tool,vind_logs_tool,vind_create_cluster_tool,vind_delete_cluster_tool,vind_pause_tool,vind_resume_tool,vind_connect_tool,vind_disconnect_tool,vind_upgrade_tool,vind_describe_tool,vind_platform_start_tool,kind_detect_tool,kind_version_tool,kind_list_clusters_tool,kind_get_nodes_tool,kind_get_kubeconfig_tool,kind_export_logs_tool,kind_cluster_info_tool,kind_node_labels_tool,kind_create_cluster_tool,kind_delete_cluster_tool,kind_delete_all_clusters_tool,kind_load_image_tool,kind_load_image_archive_tool,kind_build_node_image_tool,kind_set_kubeconfig_tool,kind_config_validate_tool,kind_config_generate_tool,kind_config_show_tool,kind_available_images_tool,kind_registry_create_tool,kind_registry_connect_tool,kind_registry_status_tool,kind_node_exec_tool,kind_node_logs_tool,kind_node_inspect_tool,kind_node_restart_tool,kind_network_inspect_tool,kind_port_mappings_tool,kind_ingress_setup_tool,kind_cluster_status_tool,kind_images_list_tool,kind_provider_info_tool - Train / Test:5005 / 556
- 負樣本比例:0.1
- Teacher 資料品質:函式名正確率
0.9908、名稱+參數全對率0.9049
欄位
| 欄位 | 說明 |
|---|---|
id |
樣本 ID |
kind |
tool(需呼叫工具)/ no_tool(不需呼叫) |
language |
生成語言 |
query |
使用者請求 |
tools |
可用工具(OpenAI function schema 陣列) |
expected_tool_calls |
標準答案的工具呼叫清單(一題可能需要多個);no_tool 為 null |
answer |
no_tool 樣本的文字回答;tool 為 null |
messages |
OpenAI 對話格式(assistant 帶 tool_calls) |
conversations |
ShareGPT 格式(system 含工具清單、gpt 以 <tool_call> 輸出) |
生成方式
先從 MCP 工具 schema 抽出「目標工具 + 合法參數」作為 ground truth,再由 teacher model 生成對應的自然語言使用者問題;另由 teacher 以 solver 身分重新解題做品質過濾(只保留還原正確者)。因此 expected_tool_calls 可作為可精確比對的標準答案,用來計算有工具呼叫率 / 函式名正確率 / 名稱+參數全對率。
載入
from datasets import load_dataset
ds = load_dataset("Simon-Liu/kubectl-mcp-server-tool-call-reasoning-6k")
print(ds["train"][0])
- Downloads last month
- 46