MCPcopy Index your code
hub / github.com/simstudioai/sim / encodeTable

Function encodeTable

apps/sim/tools/agiloft/utils.ts:18–23  ·  view source on GitHub ↗

URL builders (credential-free -- auth is via Bearer token header)

(params: AgiloftBaseParams)

Source from the content-addressed store, hash-verified

16/** URL builders (credential-free -- auth is via Bearer token header) */
17
18function encodeTable(params: AgiloftBaseParams) {
19 return {
20 kb: encodeURIComponent(params.knowledgeBase),
21 table: encodeURIComponent(params.table),
22 }
23}
24
25export function buildCreateRecordUrl(base: string, params: AgiloftBaseParams): string {
26 const { kb, table } = encodeTable(params)

Callers 6

buildCreateRecordUrlFunction · 0.85
buildReadRecordUrlFunction · 0.85
buildUpdateRecordUrlFunction · 0.85
buildDeleteRecordUrlFunction · 0.85
buildEwBaseQueryFunction · 0.85
buildAttachFileUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected