MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / buildSheetWriteRequest

Function buildSheetWriteRequest

scripts/feishu/smoke.ts:1018–1033  ·  view source on GitHub ↗
(input: {
  sheetToken: string;
  range: string;
  values: unknown[][];
})

Source from the content-addressed store, hash-verified

1016}
1017
1018function buildSheetWriteRequest(input: {
1019 sheetToken: string;
1020 range: string;
1021 values: unknown[][];
1022}): FeishuApiRequest {
1023 return {
1024 method: "PUT",
1025 path: `/open-apis/sheets/v2/spreadsheets/${encodeURIComponent(input.sheetToken)}/values`,
1026 body: {
1027 valueRange: {
1028 range: input.range,
1029 values: input.values,
1030 },
1031 },
1032 };
1033}
1034
1035function buildBaseListTablesRequest(appToken: string): FeishuApiRequest {
1036 return {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected